]> git.lizzy.rs Git - rust.git/blob - tests/ui/unevaluated_fixed_size_array_len.stderr
Rollup merge of #106321 - compiler-errors:delayed-bug-backtrace, r=Nilstrieb
[rust.git] / tests / 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`.