diff options
Diffstat (limited to 'tests/ui/dyn-star/feature-gate-dyn_star.stderr')
-rw-r--r-- | tests/ui/dyn-star/feature-gate-dyn_star.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/dyn-star/feature-gate-dyn_star.stderr b/tests/ui/dyn-star/feature-gate-dyn_star.stderr new file mode 100644 index 000000000..c3449b627 --- /dev/null +++ b/tests/ui/dyn-star/feature-gate-dyn_star.stderr @@ -0,0 +1,12 @@ +error[E0658]: dyn* trait objects are unstable + --> $DIR/feature-gate-dyn_star.rs:5:31 + | +LL | pub fn dyn_star_parameter(_: &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`. |