summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/trait_specialization.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/trait_specialization.stderr')
-rw-r--r--tests/ui/consts/trait_specialization.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/consts/trait_specialization.stderr b/tests/ui/consts/trait_specialization.stderr
new file mode 100644
index 000000000..10bebe8eb
--- /dev/null
+++ b/tests/ui/consts/trait_specialization.stderr
@@ -0,0 +1,12 @@
+warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
+ --> $DIR/trait_specialization.rs:8:12
+ |
+LL | #![feature(specialization)]
+ | ^^^^^^^^^^^^^^
+ |
+ = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+ = help: consider using `min_specialization` instead, which is more stable and complete
+ = note: `#[warn(incomplete_features)]` on by default
+
+warning: 1 warning emitted
+