summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/print_stderr.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/print_stderr.stderr')
-rw-r--r--src/tools/clippy/tests/ui/print_stderr.stderr3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/print_stderr.stderr b/src/tools/clippy/tests/ui/print_stderr.stderr
index 5af735af6..7de163310 100644
--- a/src/tools/clippy/tests/ui/print_stderr.stderr
+++ b/src/tools/clippy/tests/ui/print_stderr.stderr
@@ -5,9 +5,10 @@ LL | eprintln!("Hello");
| ^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::print-stderr` implied by `-D warnings`
+ = help: to override `-D warnings` add `#[allow(clippy::print_stderr)]`
error: use of `eprint!`
- --> $DIR/print_stderr.rs:6:5
+ --> $DIR/print_stderr.rs:8:5
|
LL | eprint!("World");
| ^^^^^^^^^^^^^^^^