2023-02-21 14:11:08 -07:00
|
|
|
error: use of deprecated method `Foo::foo`: text
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-17337.rs:16:6
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | .foo();
|
2018-07-15 14:11:54 -07:00
|
|
|
| ^^^
|
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-17337.rs:2:9
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
|
LL | #![deny(deprecated)]
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|