diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-05-11 09:14:23 -0700 |
|---|---|---|
| committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-05-12 08:39:05 -0600 |
| commit | 28856327066b9d15662ffd185196366de02c6240 (patch) | |
| tree | a2077ad7810b6b808767e04c9195e1974288d3ea /src/rustllvm/PassWrapper.cpp | |
| parent | bd441779ff60668d29b857e3b85e77aac773ebd3 (diff) | |
| download | rust-28856327066b9d15662ffd185196366de02c6240.tar.gz rust-28856327066b9d15662ffd185196366de02c6240.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/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
