diff options
Diffstat (limited to 'src/test/ui/unevaluated_fixed_size_array_len.stderr')
-rw-r--r-- | src/test/ui/unevaluated_fixed_size_array_len.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/unevaluated_fixed_size_array_len.stderr b/src/test/ui/unevaluated_fixed_size_array_len.stderr new file mode 100644 index 000000000..5e67b2c44 --- /dev/null +++ b/src/test/ui/unevaluated_fixed_size_array_len.stderr @@ -0,0 +1,11 @@ +error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied + --> $DIR/unevaluated_fixed_size_array_len.rs:12:5 + | +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`. |