diff options
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-unsized_tuple_coercion.stderr')
-rw-r--r-- | src/test/ui/feature-gates/feature-gate-unsized_tuple_coercion.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-unsized_tuple_coercion.stderr b/src/test/ui/feature-gates/feature-gate-unsized_tuple_coercion.stderr new file mode 100644 index 000000000..bea6cee0a --- /dev/null +++ b/src/test/ui/feature-gates/feature-gate-unsized_tuple_coercion.stderr @@ -0,0 +1,12 @@ +error[E0658]: unsized tuple coercion is not stable enough for use and is subject to change + --> $DIR/feature-gate-unsized_tuple_coercion.rs:2:28 + | +LL | let _ : &(dyn Send,) = &((),); + | ^^^^^^ + | + = note: see issue #42877 <https://github.com/rust-lang/rust/issues/42877> for more information + = help: add `#![feature(unsized_tuple_coercion)]` to the crate attributes to enable + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0658`. |