]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #50663 - alexcrichton:no-removed-error, r=Manishearth
authorkennytm <kennytm@gmail.com>
Sun, 13 May 2018 08:15:46 +0000 (16:15 +0800)
committerkennytm <kennytm@gmail.com>
Sun, 13 May 2018 09:20:28 +0000 (17:20 +0800)
commit34cec066d9c00f9f132d79707e116c7512d9d6ed
treef1f67de03d1ca6a3ffc9b4ed2b944b098ce9dd0c
parent0cf7be217dc75e4e9c750d4a3189e19cd0967e8b
parent0588bcadf81ef7ac88914c0f8dd2bbfbb164f09c
Rollup merge of #50663 - alexcrichton:no-removed-error, r=Manishearth

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