about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-03 22:58:02 +0000
committerbors <bors@rust-lang.org>2023-08-03 22:58:02 +0000
commitd412b91fd1b044f0c7c24bb8663797dbce591c60 (patch)
tree087c839721cbcf50cc6d4a016965f1fbd446a0ac
parent8f4f476a54fc12eec0c969ac65086976fcd7d318 (diff)
parent85b5e98ea26c6f66c49d7a26a160f6435d0dd161 (diff)
downloadrust-d412b91fd1b044f0c7c24bb8663797dbce591c60.tar.gz
rust-d412b91fd1b044f0c7c24bb8663797dbce591c60.zip
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.
-rw-r--r--tests/compile-test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/compile-test.rs b/tests/compile-test.rs
index 385e25ce6b8..e46f8bf6fab 100644
--- a/tests/compile-test.rs
+++ b/tests/compile-test.rs
@@ -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()),