25 lines
679 B
Plaintext
25 lines
679 B
Plaintext
|
|
warning: use of deprecated item 'lint_output_format::foo': text
|
||
|
|
--> $DIR/lint-output-format-2.rs:20:5
|
||
|
|
|
|
||
|
|
20 | use lint_output_format::{foo, bar};
|
||
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
|
||
|
|
= note: #[warn(deprecated)] on by default
|
||
|
|
|
||
|
|
warning: use of deprecated item 'lint_output_format::foo': text
|
||
|
|
--> $DIR/lint-output-format-2.rs:26:14
|
||
|
|
|
|
||
|
|
26 | let _x = foo();
|
||
|
|
| ^^^
|
||
|
|
|
||
|
|
error: compilation successful
|
||
|
|
--> $DIR/lint-output-format-2.rs:25:1
|
||
|
|
|
|
||
|
|
25 | / fn main() { //~ ERROR: compilation successful
|
||
|
|
26 | | let _x = foo();
|
||
|
|
27 | | //~^ WARNING use of deprecated item 'lint_output_format::foo': text
|
||
|
|
28 | | let _y = bar();
|
||
|
|
29 | | }
|
||
|
|
| |_^
|
||
|
|
|