We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Kind
symbol_intern_string_literal
1 parent bfe80eb commit d8d0773Copy full SHA for d8d0773
src/bootstrap/src/core/builder/cargo.rs
@@ -1035,12 +1035,7 @@ impl Builder<'_> {
1035
rustflags.arg("-Wrustc::internal");
1036
// cfg(bootstrap) - remove this check when lint is in bootstrap compiler
1037
if stage != 0 {
1038
- // Lint is allow by default so downstream tools don't get a lit
1039
- // they can do nothing about
1040
- // We shouldn't be preinterning symbols used by tests
1041
- if cmd_kind != Kind::Test {
1042
- rustflags.arg("-Drustc::symbol_intern_string_literal");
1043
- }
+ rustflags.arg("-Drustc::symbol_intern_string_literal");
1044
}
1045
// FIXME(edition_2024): Change this to `-Wrust_2024_idioms` when all
1046
// of the individual lints are satisfied.
0 commit comments