about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEzra Shaw <ezrasure@outlook.com>2023-04-14 00:06:21 +1200
committerEzra Shaw <ezrasure@outlook.com>2023-04-14 00:06:21 +1200
commit2bafc0fcee7c2ef0ea8c8a8af112e07a83304f79 (patch)
treed010a59caea495300c1d7586200509714b0ffb50
parent39e23ef532fa894f33ffcd105e630955bf315411 (diff)
downloadrust-2bafc0fcee7c2ef0ea8c8a8af112e07a83304f79.tar.gz
rust-2bafc0fcee7c2ef0ea8c8a8af112e07a83304f79.zip
bless the single test
-rw-r--r--tests/ui/associated-consts/associated-const-dead-code.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/associated-consts/associated-const-dead-code.stderr b/tests/ui/associated-consts/associated-const-dead-code.stderr
index cc701cc4b94..7e485a314c5 100644
--- a/tests/ui/associated-consts/associated-const-dead-code.stderr
+++ b/tests/ui/associated-consts/associated-const-dead-code.stderr
@@ -1,6 +1,8 @@
 error: associated constant `BAR` is never used
   --> $DIR/associated-const-dead-code.rs:6:11
    |
+LL | impl MyFoo {
+   | ---------- associated constant in this implementation
 LL |     const BAR: u32 = 1;
    |           ^^^
    |