File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
#![ feature( let_else) ]
2
- #![ allow( clippy:: useless_format, clippy:: derive_partial_eq_without_eq) ]
2
+ #![ allow( clippy:: useless_format, clippy:: derive_partial_eq_without_eq, rustc :: internal ) ]
3
3
4
4
mod arg;
5
5
mod phases;
Original file line number Diff line number Diff line change 124
124
if [ -z " $CARGO_PROFILE_DEV_OPT_LEVEL " ]; then
125
125
export CARGO_PROFILE_DEV_OPT_LEVEL=2
126
126
fi
127
+ # Enable rustc-specific lints
128
+ export RUSTFLAGS=" -Zunstable-options -Wrustc::internal $RUSTFLAGS "
127
129
# We set the rpath so that Miri finds the private rustc libraries it needs.
128
130
export RUSTFLAGS=" -C link-args=-Wl,-rpath,$LIBDIR $RUSTFLAGS "
129
131
Original file line number Diff line number Diff line change 1
- #![ allow( clippy:: enum_variant_names, clippy:: useless_format, clippy:: too_many_arguments) ]
1
+ #![ allow(
2
+ clippy:: enum_variant_names,
3
+ clippy:: useless_format,
4
+ clippy:: too_many_arguments,
5
+ rustc:: internal
6
+ ) ]
2
7
3
8
use std:: collections:: VecDeque ;
4
9
use std:: ffi:: OsString ;
You can’t perform that action at this time.
0 commit comments