Auto merge of #108955 - Nilstrieb:dont-use-me-pls, r=oli-obk

Add `internal_features` lint

Implements https://github.com/rust-lang/compiler-team/issues/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.
This commit is contained in:
bors 2023-08-03 22:58:02 +00:00
commit d412b91fd1
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ fn base_config(test_dir: &str) -> compiletest::Config {
[ [
"--emit=metadata", "--emit=metadata",
"-Aunused", "-Aunused",
"-Ainternal_features",
"-Zui-testing", "-Zui-testing",
"-Dwarnings", "-Dwarnings",
&format!("-Ldependency={}", deps_path.display()), &format!("-Ldependency={}", deps_path.display()),