rust/src/test/ui/lint-output-format-2.stderr

25 lines
679 B
Plaintext
Raw Normal View History

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:25:14
|
25 | let _x = foo();
| ^^^
error: compilation successful
--> $DIR/lint-output-format-2.rs:24:1
|
24 | / fn main() { //~ ERROR: compilation successful
25 | | let _x = foo();
26 | | //~^ WARNING use of deprecated item 'lint_output_format::foo': text
27 | | let _y = bar();
28 | | }
| |_^