summaryrefslogtreecommitdiffstats
path: root/src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr')
-rw-r--r--src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr b/src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr
new file mode 100644
index 000000000..438ce3349
--- /dev/null
+++ b/src/test/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
+