]>
Commit | Line | Data |
---|---|---|
0531ce1d | 1 | error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied |
0731742a | 2 | --> $DIR/unevaluated_fixed_size_array_len.rs:12:5 |
0531ce1d | 3 | | |
532ac7d7 | 4 | LL | <[(); 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 |
9 | note: required by `Foo::foo` |
10 | --> $DIR/unevaluated_fixed_size_array_len.rs:4:5 | |
11 | | | |
12 | LL | fn foo(); | |
13 | | ^^^^^^^^^ | |
0531ce1d XL |
14 | |
15 | error: aborting due to previous error | |
16 | ||
17 | For more information about this error, try `rustc --explain E0277`. |