summaryrefslogtreecommitdiffstats
path: root/tests/ui/dyn-star/gated-span.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/dyn-star/gated-span.stderr')
-rw-r--r--tests/ui/dyn-star/gated-span.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/dyn-star/gated-span.stderr b/tests/ui/dyn-star/gated-span.stderr
new file mode 100644
index 000000000..626b6cd1b
--- /dev/null
+++ b/tests/ui/dyn-star/gated-span.stderr
@@ -0,0 +1,12 @@
+error[E0658]: `dyn*` trait objects are experimental
+ --> $DIR/gated-span.rs:5:4
+ |
+LL | t!(dyn* Send);
+ | ^^^^
+ |
+ = note: see issue #102425 <https://github.com/rust-lang/rust/issues/102425> for more information
+ = help: add `#![feature(dyn_star)]` to the crate attributes to enable
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0658`.