summaryrefslogtreecommitdiffstats
path: root/src/test/ui/deprecation/deprecation-in-future.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/deprecation/deprecation-in-future.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/deprecation/deprecation-in-future.stderr b/src/test/ui/deprecation/deprecation-in-future.stderr
new file mode 100644
index 000000000..99d1c7341
--- /dev/null
+++ b/src/test/ui/deprecation/deprecation-in-future.stderr
@@ -0,0 +1,10 @@
+warning: use of deprecated function `deprecated_future`: text
+ --> $DIR/deprecation-in-future.rs:9:5
+ |
+LL | deprecated_future(); // ok; deprecated_in_future only applies with `#![feature(staged_api)]`
+ | ^^^^^^^^^^^^^^^^^
+ |
+ = note: `#[warn(deprecated)]` on by default
+
+warning: 1 warning emitted
+