summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/miri_unleashed/assoc_const.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/miri_unleashed/assoc_const.rs')
-rw-r--r--src/test/ui/consts/miri_unleashed/assoc_const.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/miri_unleashed/assoc_const.rs b/src/test/ui/consts/miri_unleashed/assoc_const.rs
index 76ed667a5..7bb0c1b77 100644
--- a/src/test/ui/consts/miri_unleashed/assoc_const.rs
+++ b/src/test/ui/consts/miri_unleashed/assoc_const.rs
@@ -26,5 +26,5 @@ fn main() {
// this is fine, but would have been forbidden by the static checks on `F`
let x = <() as Bar<u32, ()>>::F;
// this test only causes errors due to the line below, so post-monomorphization
- let y = <String as Bar<Vec<u32>, String>>::F; //~ ERROR erroneous constant
+ let y = <String as Bar<Vec<u32>, String>>::F; //~ constant
}