]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unevaluated_fixed_size_array_len.stderr
Rollup merge of #92959 - asquared31415:test-non-fn-help, r=estebank
[rust.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 following implementations were found:
8              <[(); 1] as Foo>
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.