summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-unwrap.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-unwrap.stderr')
-rw-r--r--src/test/ui/consts/const-unwrap.stderr9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/consts/const-unwrap.stderr b/src/test/ui/consts/const-unwrap.stderr
deleted file mode 100644
index d2cbe4550..000000000
--- a/src/test/ui/consts/const-unwrap.stderr
+++ /dev/null
@@ -1,9 +0,0 @@
-error[E0080]: evaluation of constant value failed
- --> $DIR/const-unwrap.rs:7:18
- |
-LL | const BAR: i32 = Option::<i32>::None.unwrap();
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'called `Option::unwrap()` on a `None` value', $DIR/const-unwrap.rs:7:38
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0080`.