]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lint/lint-output-format-2.rs
report kind of deprecated item in message
[rust.git] / src / test / ui / lint / lint-output-format-2.rs
index 521472d99b17d9fe12901f70c528cbb5fe2c0a57..985166e095dfcb19194b7a799a99cda648bcae7d 100644 (file)
@@ -5,11 +5,11 @@
 
 extern crate lint_output_format;
 use lint_output_format::{foo, bar};
-//~^ WARNING use of deprecated item 'lint_output_format::foo': text
+//~^ WARNING use of deprecated function `lint_output_format::foo`: text
 
 
 fn main() {
     let _x = foo();
-    //~^ WARNING use of deprecated item 'lint_output_format::foo': text
+    //~^ WARNING use of deprecated function `lint_output_format::foo`: text
     let _y = bar();
 }