diff options
Diffstat (limited to 'tests/ui/error-codes/E0705.rs')
-rw-r--r-- | tests/ui/error-codes/E0705.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0705.rs b/tests/ui/error-codes/E0705.rs new file mode 100644 index 000000000..05abcb629 --- /dev/null +++ b/tests/ui/error-codes/E0705.rs @@ -0,0 +1,10 @@ +// check-pass + +// This is a stub feature that doesn't control anything, so to make tidy happy, +// gate-test-test_2018_feature + +#![feature(test_2018_feature)] +//~^ WARN the feature `test_2018_feature` is included in the Rust 2018 edition +#![feature(rust_2018_preview)] + +fn main() {} |