ICE: trying to take the sizing type of str, an unsized type #21111
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-DSTs
Area: Dynamically-sized types (DSTs)
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
The following code leads to an ICE, while it should generate an error like "the trait
core::marker::Sized
is not implemented for the typestr
".The text was updated successfully, but these errors were encountered: