diff options
Diffstat (limited to 'tests/ui/deprecation/feature-gate-deprecated_suggestion.stderr')
-rw-r--r-- | tests/ui/deprecation/feature-gate-deprecated_suggestion.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/deprecation/feature-gate-deprecated_suggestion.stderr b/tests/ui/deprecation/feature-gate-deprecated_suggestion.stderr new file mode 100644 index 000000000..438ce3349 --- /dev/null +++ b/tests/ui/deprecation/feature-gate-deprecated_suggestion.stderr @@ -0,0 +1,11 @@ +error: suggestions on deprecated items are unstable + --> $DIR/feature-gate-deprecated_suggestion.rs:5:14 + | +LL | #[deprecated(suggestion = "foo")] + | ^^^^^^^^^^^^^^^^^^ + | + = help: add `#![feature(deprecated_suggestion)]` to the crate root + = note: see #94785 for more details + +error: aborting due to previous error + |