diff options
Diffstat (limited to 'src/test/ui/cast/cast-to-unsized-trait-object-suggestion.stderr')
-rw-r--r-- | src/test/ui/cast/cast-to-unsized-trait-object-suggestion.stderr | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/ui/cast/cast-to-unsized-trait-object-suggestion.stderr b/src/test/ui/cast/cast-to-unsized-trait-object-suggestion.stderr deleted file mode 100644 index 3b5b8ea69..000000000 --- a/src/test/ui/cast/cast-to-unsized-trait-object-suggestion.stderr +++ /dev/null @@ -1,19 +0,0 @@ -error[E0620]: cast to unsized type: `&{integer}` as `dyn Send` - --> $DIR/cast-to-unsized-trait-object-suggestion.rs:2:5 - | -LL | &1 as dyn Send; - | ^^^^^^-------- - | | - | help: try casting to a reference instead: `&dyn Send` - -error[E0620]: cast to unsized type: `Box<{integer}>` as `dyn Send` - --> $DIR/cast-to-unsized-trait-object-suggestion.rs:3:5 - | -LL | Box::new(1) as dyn Send; - | ^^^^^^^^^^^^^^^-------- - | | - | help: you can cast to a `Box` instead: `Box<dyn Send>` - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0620`. |