diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/associated-consts/shadowed-const.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/associated-consts/shadowed-const.stderr b/src/test/ui/associated-consts/shadowed-const.stderr new file mode 100644 index 000000000..fe21d2aec --- /dev/null +++ b/src/test/ui/associated-consts/shadowed-const.stderr @@ -0,0 +1,8 @@ +error: found associated const `BAR` when type was expected + --> $DIR/shadowed-const.rs:19:14 + | +LL | const QUX: Self::BAR; + | ^^^^^^^^^ + +error: aborting due to previous error + |