Skip to content

Commit 08b81f2

Browse files
committed
Rename internal -> rustc::internal
1 parent 65c81de commit 08b81f2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/bootstrap/bin/rustc.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,9 @@ fn main() {
310310
let crate_name = crate_name[1].to_string_lossy();
311311
if crate_name.starts_with("rustc") || crate_name.starts_with("syntax") {
312312
cmd.arg("-Zunstable-options");
313-
cmd.arg("-Winternal");
313+
if stage != "0" {
314+
cmd.arg("-Wrustc::internal");
315+
}
314316
}
315317
}
316318

src/librustc_lint/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ pub fn register_internals(store: &mut lint::LintStore, sess: Option<&Session>) {
497497
store.register_group(
498498
sess,
499499
false,
500-
"internal",
500+
"rustc::internal",
501501
None,
502502
vec![
503503
LintId::of(DEFAULT_HASH_TYPES),

0 commit comments

Comments
 (0)