-error: use of deprecated item 'Foo::foo': text
+error: use of deprecated associated function `Foo::foo`: text
--> $DIR/issue-17337.rs:16:6
|
LL | .foo();
| ^^^
|
-note: lint level defined here
+note: the lint level is defined here
--> $DIR/issue-17337.rs:2:9
|
LL | #![deny(deprecated)]