summaryrefslogtreecommitdiffstats
path: root/tests/ui/unevaluated_fixed_size_array_len.stderr
blob: b04a7b7f2f1d482fcfc66f0ef74ec597f46be77d (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied
  --> $DIR/unevaluated_fixed_size_array_len.rs:12:6
   |
LL |     <[(); 0] as Foo>::foo()
   |      ^^^^^^^ the trait `Foo` is not implemented for `[(); 0]`
   |
   = help: the trait `Foo` is implemented for `[(); 1]`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.