summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/must_not_suspend/gated.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/must_not_suspend/gated.stderr')
-rw-r--r--tests/ui/lint/must_not_suspend/gated.stderr33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/ui/lint/must_not_suspend/gated.stderr b/tests/ui/lint/must_not_suspend/gated.stderr
new file mode 100644
index 000000000..64de1ebea
--- /dev/null
+++ b/tests/ui/lint/must_not_suspend/gated.stderr
@@ -0,0 +1,33 @@
+warning: unknown lint: `must_not_suspend`
+ --> $DIR/gated.rs:4:1
+ |
+LL | #![deny(must_not_suspend)]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = 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
+ = note: `#[warn(unknown_lints)]` on by default
+
+warning: unknown lint: `must_not_suspend`
+ --> $DIR/gated.rs:4:1
+ |
+LL | #![deny(must_not_suspend)]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = 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
+
+warning: unknown lint: `must_not_suspend`
+ --> $DIR/gated.rs:4:1
+ |
+LL | #![deny(must_not_suspend)]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = 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
+
+warning: 3 warnings emitted
+