about summary refs log tree commit diff
path: root/src/test/ui/lint
diff options
context:
space:
mode:
authorDavid Koloski <dkoloski@google.com>2022-03-02 00:10:39 +0000
committerDavid Koloski <dkoloski@google.com>2022-03-08 19:09:32 +0000
commitfa10d90b9974844790b0ad98fa5c50fae80ee166 (patch)
tree0328b386d1437c8481d43507e7db775b5831638f /src/test/ui/lint
parent1593ce8609714f4717a9db964507bf4fdf1e400d (diff)
downloadrust-fa10d90b9974844790b0ad98fa5c50fae80ee166.tar.gz
rust-fa10d90b9974844790b0ad98fa5c50fae80ee166.zip
Fix docs, fix incorrect lint source in note
Diffstat (limited to 'src/test/ui/lint')
-rw-r--r--src/test/ui/lint/must_not_suspend/gated.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/lint/must_not_suspend/gated.stderr b/src/test/ui/lint/must_not_suspend/gated.stderr
index 3d6877045ff..b58ecb55596 100644
--- a/src/test/ui/lint/must_not_suspend/gated.stderr
+++ b/src/test/ui/lint/must_not_suspend/gated.stderr
@@ -4,7 +4,7 @@ warning: unknown lint: `must_not_suspend`
 LL | #![deny(must_not_suspend)]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
-   = note: `#[warn(must_not_suspend)]` on by default
+   = note: `#[warn(unknown_lints)]` on by default
    = note: the `must_not_suspend` lint is unstable
    = note: see issue #83310 <https://github.com/rust-lang/rust/issues/83310> for more information
    = help: add `#![feature(must_not_suspend)]` to the crate attributes to enable