We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HirId
Span
ObligationCauseCode::SizedArgumentType
1 parent a4c2cf1 commit ca83a98Copy full SHA for ca83a98
tests/ui/crashes/ice-6251.stderr
@@ -6,7 +6,7 @@ LL | fn bug<T>() -> impl Iterator<Item = [(); { |x: [u8]| x }]> {
6
|
7
= help: the trait `std::marker::Sized` is not implemented for `[u8]`
8
= help: unsized fn params are gated as an unstable feature
9
-help: function arguments must have a statically known size, borrowed types always have a known size
+help: function arguments must have a statically known size, borrowed slices always have a known size
10
11
LL | fn bug<T>() -> impl Iterator<Item = [(); { |x: &[u8]| x }]> {
12
| +
0 commit comments