]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/lint/lint-output-format-2.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / lint / lint-output-format-2.stderr
index 8c6247688e80cc5ff1b1bcdf4cc78810d8e956d1..a36dbd61fdcea12781d5354ee8152192bea09a9e 100644 (file)
@@ -1,26 +1,16 @@
-warning: use of deprecated item 'lint_output_format::foo': text
-  --> $DIR/lint-output-format-2.rs:17:26
+warning: use of deprecated function `lint_output_format::foo`: text
+  --> $DIR/lint-output-format-2.rs:7:26
    |
 LL | use lint_output_format::{foo, bar};
    |                          ^^^
    |
-   = note: #[warn(deprecated)] on by default
+   = note: `#[warn(deprecated)]` on by default
 
-warning: use of deprecated item 'lint_output_format::foo': text
-  --> $DIR/lint-output-format-2.rs:22:14
+warning: use of deprecated function `lint_output_format::foo`: text
+  --> $DIR/lint-output-format-2.rs:12:14
    |
 LL |     let _x = foo();
    |              ^^^
 
-error: compilation successful
-  --> $DIR/lint-output-format-2.rs:21:1
-   |
-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 | | }
-   | |_^
-
-error: aborting due to previous error
+warning: 2 warnings emitted