Skip to content

Commit

Permalink
Auto merge of rust-lang#108955 - Nilstrieb:dont-use-me-pls, r=oli-obk
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Aug 3, 2023
2 parents 8f4f476 + 85b5e98 commit d412b91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/compile-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ fn base_config(test_dir: &str) -> compiletest::Config {
[
"--emit=metadata",
"-Aunused",
"-Ainternal_features",
"-Zui-testing",
"-Dwarnings",
&format!("-Ldependency={}", deps_path.display()),
Expand Down

0 comments on commit d412b91

Please sign in to comment.