summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-consts/defaults-cyclic-fail.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/associated-consts/defaults-cyclic-fail.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/associated-consts/defaults-cyclic-fail.rs b/tests/ui/associated-consts/defaults-cyclic-fail.rs
index a1c6840a0..9ef0003da 100644
--- a/tests/ui/associated-consts/defaults-cyclic-fail.rs
+++ b/tests/ui/associated-consts/defaults-cyclic-fail.rs
@@ -3,7 +3,7 @@
// Cyclic assoc. const defaults don't error unless *used*
trait Tr {
const A: u8 = Self::B;
- //~^ cycle detected when const-evaluating + checking `Tr::A`
+ //~^ cycle detected
const B: u8 = Self::A;
}