diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/macros/issue-2804.rs (renamed from tests/ui/issue-2804.rs) | 0 | ||||
-rw-r--r-- | tests/ui/macros/issue-39467.rs (renamed from tests/ui/issues/issue-39467.rs) | 0 | ||||
-rw-r--r-- | tests/ui/macros/must-use-in-macro-55516.stderr | 1 |
3 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/issue-2804.rs b/tests/ui/macros/issue-2804.rs index 571028c5e..571028c5e 100644 --- a/tests/ui/issue-2804.rs +++ b/tests/ui/macros/issue-2804.rs diff --git a/tests/ui/issues/issue-39467.rs b/tests/ui/macros/issue-39467.rs index 397751e4e..397751e4e 100644 --- a/tests/ui/issues/issue-39467.rs +++ b/tests/ui/macros/issue-39467.rs diff --git a/tests/ui/macros/must-use-in-macro-55516.stderr b/tests/ui/macros/must-use-in-macro-55516.stderr index 8878b0eea..7bf4aaab5 100644 --- a/tests/ui/macros/must-use-in-macro-55516.stderr +++ b/tests/ui/macros/must-use-in-macro-55516.stderr @@ -6,6 +6,7 @@ LL | write!(&mut example, "{}", 42); | = note: this `Result` may be an `Err` variant, which should be handled = note: `-W unused-must-use` implied by `-W unused` + = help: to override `-W unused` add `#[allow(unused_must_use)]` = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) warning: 1 warning emitted |