summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-eval/erroneous-const.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-eval/erroneous-const.stderr')
-rw-r--r--tests/ui/consts/const-eval/erroneous-const.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/consts/const-eval/erroneous-const.stderr b/tests/ui/consts/const-eval/erroneous-const.stderr
index 03030392a..770f95062 100644
--- a/tests/ui/consts/const-eval/erroneous-const.stderr
+++ b/tests/ui/consts/const-eval/erroneous-const.stderr
@@ -5,10 +5,10 @@ LL | const VOID: () = [()][2];
| ^^^^^^^ index out of bounds: the length is 1 but the index is 2
note: erroneous constant used
- --> $DIR/erroneous-const.rs:13:17
+ --> $DIR/erroneous-const.rs:13:13
|
-LL | let _ = PrintName::<T>::VOID;
- | ^^^^^^^^^^^^^^^^^^^^
+LL | PrintName::<T>::VOID;
+ | ^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error