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

27 lines
713 B
Plaintext
Raw Normal View History

warning: use of deprecated item 'lint_output_format::foo': text
--> $DIR/lint-output-format-2.rs:20:26
|
2018-02-22 18:42:32 -06:00
LL | 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
|
2018-02-22 18:42:32 -06:00
LL | let _x = foo();
| ^^^
error: compilation successful
--> $DIR/lint-output-format-2.rs:24:1
|
2018-02-22 18:42:32 -06:00
LL | / fn main() { //~ ERROR: compilation successful
LL | | let _x = foo();
LL | | //~^ WARNING use of deprecated item 'lint_output_format::foo': text
LL | | let _y = bar();
LL | | }
| |_^
2018-03-15 10:13:47 -05:00
error: aborting due to previous error