diff options
Diffstat (limited to 'tests/ui/dyn-star/dyn-to-rigid.stderr')
-rw-r--r-- | tests/ui/dyn-star/dyn-to-rigid.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/dyn-star/dyn-to-rigid.stderr b/tests/ui/dyn-star/dyn-to-rigid.stderr new file mode 100644 index 000000000..588e6d97e --- /dev/null +++ b/tests/ui/dyn-star/dyn-to-rigid.stderr @@ -0,0 +1,9 @@ +error[E0606]: casting `(dyn* Tr + 'static)` as `usize` is invalid + --> $DIR/dyn-to-rigid.rs:7:5 + | +LL | x as usize + | ^^^^^^^^^^ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0606`. |