]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unevaluated_fixed_size_array_len.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[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 |     fn foo();
5    |     --------- required by `Foo::foo`
6 ...
7 LL |     <[(); 0] as Foo>::foo()
8    |     ^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `[(); 0]`
9    |
10    = help: the following implementations were found:
11              <[(); 1] as Foo>
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.