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.
1 parent 56794fa commit c5c6d70Copy full SHA for c5c6d70
tests/ui/crashes/ice-6251.stderr
@@ -12,10 +12,10 @@ LL | fn bug<T>() -> impl Iterator<Item = [(); { |x: &[u8]| x }]> {
12
| +
13
14
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
15
- --> $DIR/ice-6251.rs:4:53
+ --> $DIR/ice-6251.rs:4:54
16
|
17
LL | fn bug<T>() -> impl Iterator<Item = [(); { |x: [u8]| x }]> {
18
- | ^ doesn't have a size known at compile-time
+ | ^ doesn't have a size known at compile-time
19
20
= help: the trait `std::marker::Sized` is not implemented for `[u8]`
21
= note: the return type of a function must have a statically known size
0 commit comments