diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-30 22:43:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-30 22:43:34 +0200 |
| commit | dbf54ad324e4b788a77f594824792ae5cab36eeb (patch) | |
| tree | dcc002afb716bfca55d0da579f944fd12648bf1f /src/liballoc | |
| parent | 9fb8f1b2bff9b2d06efb02bb3b4f5f12319e0f9f (diff) | |
| parent | 24a178e397c6aaac39f26ac8684bc8d7b43c4c8c (diff) | |
| download | rust-dbf54ad324e4b788a77f594824792ae5cab36eeb.tar.gz rust-dbf54ad324e4b788a77f594824792ae5cab36eeb.zip | |
Rollup merge of #63095 - Centril:incomplete-features-lint, r=varkor
Turn `INCOMPLETE_FEATURES` into lint We do this because it is annoying to see the warning when building rustc and because this is better from a "separation of concerns" POV. The drawback to this change is that this will respect `--cap-lints`. Also note that this is not a buffered lint so if there are fatal parser errors then the lint will not trigger. r? @varkor
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 3a7dce88a16..98fa754759a 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -69,6 +69,7 @@ #![warn(missing_debug_implementations)] #![deny(intra_doc_link_resolution_failure)] // rustdoc is run without -D warnings #![allow(explicit_outlives_requirements)] +#![cfg_attr(not(bootstrap), allow(incomplete_features))] #![cfg_attr(not(test), feature(generator_trait))] #![cfg_attr(test, feature(test))] |
