]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-output-format-2.stderr
Move parse-fail tests to UI
[rust.git] / src / test / ui / lint / lint-output-format-2.stderr
1 warning: use of deprecated item 'lint_output_format::foo': text
2   --> $DIR/lint-output-format-2.rs:17:26
3    |
4 LL | use lint_output_format::{foo, bar};
5    |                          ^^^
6    |
7    = note: #[warn(deprecated)] on by default
8
9 warning: use of deprecated item 'lint_output_format::foo': text
10   --> $DIR/lint-output-format-2.rs:22:14
11    |
12 LL |     let _x = foo();
13    |              ^^^
14
15 error: compilation successful
16   --> $DIR/lint-output-format-2.rs:21:1
17    |
18 LL | / fn main() { //~ ERROR: compilation successful
19 LL | |     let _x = foo();
20 LL | |     //~^ WARNING use of deprecated item 'lint_output_format::foo': text
21 LL | |     let _y = bar();
22 LL | | }
23    | |_^
24
25 error: aborting due to previous error
26