Skip to content

Commit 9d7ab36

Browse files
committed
Auto merge of #108955 - Nilstrieb:dont-use-me-pls, r=oli-obk
Add `internal_features` lint Implements rust-lang/compiler-team#596 Also requires some more test blessing for codegen tests etc `@jyn514` had the idea of just `allow`ing the lint by default in the test suite. I'm not sure whether this is a good idea, but it's definitely one worth considering. Additional input encouraged.
2 parents ab46740 + 7ad2d64 commit 9d7ab36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/compiletest.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ fn test_config(target: &str, path: &str, mode: Mode, with_dependencies: bool) ->
5353
// Add some flags we always want.
5454
program.args.push("-Dwarnings".into());
5555
program.args.push("-Dunused".into());
56+
program.args.push("-Ainternal_features".into());
5657
if let Ok(extra_flags) = env::var("MIRIFLAGS") {
5758
for flag in extra_flags.split_whitespace() {
5859
program.args.push(flag.into());

0 commit comments

Comments
 (0)