blob: 6e959da99397b9b31f31f3638a21c8ef40ffb40e [file] [log] [blame]
error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied
--> $DIR/unevaluated_fixed_size_array_len.rs:22:5
|
LL | <[(); 0] as Foo>::foo() //~ ERROR E0277
| ^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `[(); 0]`
|
= help: the following implementations were found:
<[(); 1] as Foo>
note: required by `Foo::foo`
--> $DIR/unevaluated_fixed_size_array_len.rs:14:5
|
LL | fn foo();
| ^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.