summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0620.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/error-codes/E0620.stderr')
-rw-r--r--src/test/ui/error-codes/E0620.stderr15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/error-codes/E0620.stderr b/src/test/ui/error-codes/E0620.stderr
deleted file mode 100644
index 65152b2b7..000000000
--- a/src/test/ui/error-codes/E0620.stderr
+++ /dev/null
@@ -1,15 +0,0 @@
-error[E0620]: cast to unsized type: `&[usize; 2]` as `[usize]`
- --> $DIR/E0620.rs:2:16
- |
-LL | let _foo = &[1_usize, 2] as [usize];
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- |
-help: consider using an implicit coercion to `&[usize]` instead
- --> $DIR/E0620.rs:2:16
- |
-LL | let _foo = &[1_usize, 2] as [usize];
- | ^^^^^^^^^^^^^^^^^^^^^^^^
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0620`.