This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
40e3fcfd59
rust
/
tests
/
ui
/
editions
/
edition-feature-ok.rs
6 lines
60 B
Rust
Raw
Normal View
History
Unescape
Escape
Mark some edition tests as check-pass
2021-06-22 00:03:50 -05:00
// check-pass
rustc: Allow an edition's feature on that edition This commit fixes a hard error where the `#![feature(rust_2018_preview)]` feature was forbidden to be mentioned when the `--edition 2018` flag was passed. This instead silently accepts that feature gate despite it not being necessary. It's intended that this will help ease the transition into the 2018 edition as users will, for the time being, start off with the `rust_2018_preview` feature and no longer immediately need to remove it. Closes #50662
2018-05-11 11:14:23 -05:00
#![
feature(rust_2018_preview)
]
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink