about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-05-11 09:14:23 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-05-11 09:15:48 -0700
commit0588bcadf81ef7ac88914c0f8dd2bbfbb164f09c (patch)
treee57e8cda05616952f9982a652b2b1f0cd48498e0 /src/rustllvm/RustWrapper.cpp
parentfe63e479d1f6e3122b61f86f5117eac981b071f2 (diff)
downloadrust-0588bcadf81ef7ac88914c0f8dd2bbfbb164f09c.tar.gz
rust-0588bcadf81ef7ac88914c0f8dd2bbfbb164f09c.zip
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions