From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/editions/edition-feature-redundant.stderr | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/ui/editions/edition-feature-redundant.stderr (limited to 'tests/ui/editions/edition-feature-redundant.stderr') diff --git a/tests/ui/editions/edition-feature-redundant.stderr b/tests/ui/editions/edition-feature-redundant.stderr new file mode 100644 index 000000000..b11e616d7 --- /dev/null +++ b/tests/ui/editions/edition-feature-redundant.stderr @@ -0,0 +1,9 @@ +warning[E0705]: the feature `rust_2018_preview` is included in the Rust 2018 edition + --> $DIR/edition-feature-redundant.rs:4:12 + | +LL | #![feature(rust_2018_preview)] + | ^^^^^^^^^^^^^^^^^ + +warning: 1 warning emitted + +For more information about this error, try `rustc --explain E0705`. -- cgit v1.2.3