about summary refs log tree commit diff
path: root/src/test/ui
diff options
context:
space:
mode:
authorYuki OKUSHI <huyuumi.dev@gmail.com>2019-03-31 06:30:45 +0900
committerYuki OKUSHI <huyuumi.dev@gmail.com>2019-03-31 07:51:31 +0900
commit45c82abf13385f22d10dccecd1e54b28cfbeb5cc (patch)
treea6b7d5e0b8f4153ab1e46222f27d4e1edf6f3dec /src/test/ui
parent70a497a43794f0da5610c6da835ed3e02cd9af4d (diff)
downloadrust-45c82abf13385f22d10dccecd1e54b28cfbeb5cc.tar.gz
rust-45c82abf13385f22d10dccecd1e54b28cfbeb5cc.zip
Distinguish depending on error level
Remove unnecessary comment
Diffstat (limited to 'src/test/ui')
-rw-r--r--src/test/ui/imports/import-crate-var.stderr2
-rw-r--r--src/test/ui/macros/must-use-in-macro-55516.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/imports/import-crate-var.stderr b/src/test/ui/imports/import-crate-var.stderr
index 928256543bc..4c358a81cc1 100644
--- a/src/test/ui/imports/import-crate-var.stderr
+++ b/src/test/ui/imports/import-crate-var.stderr
@@ -5,5 +5,5 @@ LL |     m!();
    |     ^^^^^
    |
    = note: `use $crate;` was erroneously allowed and will become a hard error in a future release
-   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
+   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
 
diff --git a/src/test/ui/macros/must-use-in-macro-55516.stderr b/src/test/ui/macros/must-use-in-macro-55516.stderr
index 623b5745a35..302c8aa7e6a 100644
--- a/src/test/ui/macros/must-use-in-macro-55516.stderr
+++ b/src/test/ui/macros/must-use-in-macro-55516.stderr
@@ -6,5 +6,5 @@ LL |     write!(&mut example, "{}", 42);
    |
    = note: `-W unused-must-use` implied by `-W unused`
    = note: this `Result` may be an `Err` variant, which should be handled
-   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
+   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)