|
1 | 1 | // error-pattern:cargo-clippy |
2 | 2 |
|
3 | 3 | #![feature(bindings_after_at)] |
4 | | -#![feature(box_syntax)] |
5 | 4 | #![feature(box_patterns)] |
| 5 | +#![feature(box_syntax)] |
| 6 | +#![feature(concat_idents)] |
| 7 | +#![feature(crate_visibility_modifier)] |
| 8 | +#![feature(drain_filter)] |
6 | 9 | #![feature(or_patterns)] |
7 | 10 | #![feature(rustc_private)] |
8 | 11 | #![feature(stmt_expr_attributes)] |
9 | | -#![allow(clippy::missing_docs_in_private_items, clippy::must_use_candidate)] |
10 | 12 | #![recursion_limit = "512"] |
11 | | -#![warn(rust_2018_idioms, trivial_casts, trivial_numeric_casts)] |
12 | | -#![deny(rustc::internal)] |
13 | 13 | #![cfg_attr(feature = "deny-warnings", deny(warnings))] |
14 | | -#![feature(crate_visibility_modifier)] |
15 | | -#![feature(concat_idents)] |
16 | | -#![feature(drain_filter)] |
| 14 | +#![allow(clippy::missing_docs_in_private_items, clippy::must_use_candidate)] |
| 15 | +#![warn(trivial_casts, trivial_numeric_casts)] |
| 16 | +// warn on lints, that are included in `rust-lang/rust`s bootstrap |
| 17 | +#![warn(rust_2018_idioms, unused_lifetimes)] |
| 18 | +// warn on rustc internal lints |
| 19 | +#![deny(rustc::internal)] |
17 | 20 |
|
18 | 21 | // FIXME: switch to something more ergonomic here, once available. |
19 | 22 | // (Currently there is no way to opt into sysroot crates without `extern crate`.) |
|
0 commit comments