about summary refs log tree commit diff
path: root/src/test/ui/consts/const-external-macro-const-err.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-external-macro-const-err.stderr')
-rw-r--r--src/test/ui/consts/const-external-macro-const-err.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/const-external-macro-const-err.stderr b/src/test/ui/consts/const-external-macro-const-err.stderr
index 108d976ec6d..a66d79a1616 100644
--- a/src/test/ui/consts/const-external-macro-const-err.stderr
+++ b/src/test/ui/consts/const-external-macro-const-err.stderr
@@ -2,7 +2,7 @@ error: any use of this value will cause an error
   --> $DIR/const-external-macro-const-err.rs:12:5
    |
 LL |     static_assert!(2 + 2 == 5);
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 1 but the index is 1
    |
    = note: `#[deny(const_err)]` on by default
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!