diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-15 18:23:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-15 18:23:45 +0200 |
| commit | c712d386345b5edf060f2413dca542031ee39a42 (patch) | |
| tree | 33e92d918b3b113a5f33732f86c6cae75209d600 /src/libstd | |
| parent | cf1697f7266885ea704fda09c6d244ee74f459f9 (diff) | |
| parent | 50c615baa2c09694f0ba446c53777e98db88ed01 (diff) | |
| download | rust-c712d386345b5edf060f2413dca542031ee39a42.tar.gz rust-c712d386345b5edf060f2413dca542031ee39a42.zip | |
Rollup merge of #59955 - RalfJung:stdsimd, r=alexcrichton
bump stdsimd; make intra_doc_link_resolution_failure an error again; make lints more consistent I made `intra_doc_link_resolution_failure` warn so that it would properly respect `deny-warnings = false` in `config.toml`. `#[warn]` still become errors with `-D warnings` so I thought this was fine. Turns out however that we don't pass `-D warnings` when running rustdoc, so for additional rustdoc-lints we need to set them to `deny`. Also sue the opportunity to make the lint flags more consistent between libcore, liballoc, libstd. Cc @gnzlbg for the *big* stdsimd update.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index ee6ba3f438f..62bc1991cc9 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -205,9 +205,10 @@ // Don't link to std. We are std. #![no_std] -#![deny(missing_docs)] -#![deny(intra_doc_link_resolution_failure)] -#![deny(missing_debug_implementations)] +//#![warn(deprecated_in_future)] // FIXME: std still has quite a few uses of `mem::uninitialized` +#![warn(missing_docs)] +#![warn(missing_debug_implementations)] +#![deny(intra_doc_link_resolution_failure)] // rustdoc is run without -D warnings #![deny(rust_2018_idioms)] #![allow(explicit_outlives_requirements)] |
