about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-05-13 16:15:46 +0800
committerkennytm <kennytm@gmail.com>2018-05-13 17:20:28 +0800
commit34cec066d9c00f9f132d79707e116c7512d9d6ed (patch)
treef1f67de03d1ca6a3ffc9b4ed2b944b098ce9dd0c
parent0cf7be217dc75e4e9c750d4a3189e19cd0967e8b (diff)
parent0588bcadf81ef7ac88914c0f8dd2bbfbb164f09c (diff)
downloadrust-34cec066d9c00f9f132d79707e116c7512d9d6ed.tar.gz
rust-34cec066d9c00f9f132d79707e116c7512d9d6ed.zip
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
0 files changed, 0 insertions, 0 deletions