diff options
Diffstat (limited to 'tests/ui/dyn-star/error.stderr')
-rw-r--r-- | tests/ui/dyn-star/error.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/dyn-star/error.stderr b/tests/ui/dyn-star/error.stderr new file mode 100644 index 000000000..ae54b9ca7 --- /dev/null +++ b/tests/ui/dyn-star/error.stderr @@ -0,0 +1,9 @@ +error[E0277]: the trait bound `{integer}: Foo` is not satisfied + --> $DIR/error.rs:10:27 + | +LL | let dyn_i: dyn* Foo = i; + | ^ the trait `Foo` is not implemented for `{integer}` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0277`. |