ICE when quasi-quoting ?Sized trait bound #22957
Labels
A-syntaxext
Area: Syntax extensions
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Looks like when using #![feature(quote)], invoking quote_item! with a type bounded by ?Sized throws an internal compiler error.
I tried this code:
I expected to see the same kind of output as the exact same code, but using the Sized bound:
But instead, the former ICE's and the latter compiles just fine.
Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: