]> git.proxmox.com Git - rustc.git/blob - src/test/ui/unevaluated_fixed_size_array_len.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / unevaluated_fixed_size_array_len.stderr
1 error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied
2 --> $DIR/unevaluated_fixed_size_array_len.rs:12:5
3 |
4 LL | <[(); 0] as Foo>::foo()
5 | ^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `[(); 0]`
6 |
7 = help: the trait `Foo` is implemented for `[(); 1]`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.