diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-01-10 17:40:57 -0800 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-01-10 18:51:12 -0800 |
| commit | 09b5c854de112120a6cf4298eb9c96549995b1b0 (patch) | |
| tree | f575eb0a2b96f9da75182df2405b697ce1d073b0 /src/libsyntax | |
| parent | 8f1df30d06072f03407654b1cde11a1a067bdfad (diff) | |
| download | rust-09b5c854de112120a6cf4298eb9c96549995b1b0.tar.gz rust-09b5c854de112120a6cf4298eb9c96549995b1b0.zip | |
Remove unnecessary `const_fn` feature gates
This flag opts out of the min-const-fn checks entirely, which is usually not what we want. The few cases where the flag is still necessary have been annotated.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index b197eab7394..d67a7ba3413 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -7,7 +7,7 @@ #![doc(html_root_url = "https://doc.rust-lang.org/nightly/", test(attr(deny(warnings))))] #![feature(bool_to_option)] #![feature(box_syntax)] -#![feature(const_fn)] +#![feature(const_fn)] // For the `transmute` in `P::new` #![feature(const_transmute)] #![feature(crate_visibility_modifier)] #![feature(label_break_value)] |
