We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 392d549 commit 419bf6bCopy full SHA for 419bf6b
tests/ui/crashes/ice-6251.stderr
@@ -16,8 +16,8 @@ LL | fn bug<T>() -> impl Iterator<Item = [(); { |x: [u8]| x }]> {
16
= help: unsized fn params are gated as an unstable feature
17
help: function arguments must have a statically known size, borrowed types always have a known size
18
|
19
-LL | fn bug<T>() -> impl Iterator<Item = [(); { |&x: [u8]| x }]> {
20
- | ^
+LL | fn bug<T>() -> impl Iterator<Item = [(); { |x: &[u8]| x }]> {
+ | ^
21
22
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
23
--> $DIR/ice-6251.rs:4:54
0 commit comments