diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-17337.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-17337.stderr b/src/test/ui/issues/issue-17337.stderr new file mode 100644 index 000000000..34c2eb05f --- /dev/null +++ b/src/test/ui/issues/issue-17337.stderr @@ -0,0 +1,14 @@ +error: use of deprecated associated function `Foo::foo`: text + --> $DIR/issue-17337.rs:16:6 + | +LL | .foo(); + | ^^^ + | +note: the lint level is defined here + --> $DIR/issue-17337.rs:2:9 + | +LL | #![deny(deprecated)] + | ^^^^^^^^^^ + +error: aborting due to previous error + |