]> git.proxmox.com Git - rustc.git/blame - src/test/ui/unevaluated_fixed_size_array_len.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / unevaluated_fixed_size_array_len.stderr
CommitLineData
0531ce1d 1error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied
0731742a 2 --> $DIR/unevaluated_fixed_size_array_len.rs:12:5
0531ce1d 3 |
532ac7d7 4LL | <[(); 0] as Foo>::foo()
0531ce1d
XL
5 | ^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `[(); 0]`
6 |
7 = help: the following implementations were found:
8 <[(); 1] as Foo>
136023e0
XL
9note: required by `Foo::foo`
10 --> $DIR/unevaluated_fixed_size_array_len.rs:4:5
11 |
12LL | fn foo();
13 | ^^^^^^^^^
0531ce1d
XL
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0277`.