From 08b81f2d070fdeb5364c96ccb2fdd8d992dff955 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Mon, 17 Jun 2019 17:06:11 +0200 Subject: Rename internal -> rustc::internal --- src/bootstrap/bin/rustc.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/bootstrap/bin') diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs index 34bd62d300d..5b5e9e0def2 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -310,7 +310,9 @@ fn main() { let crate_name = crate_name[1].to_string_lossy(); if crate_name.starts_with("rustc") || crate_name.starts_with("syntax") { cmd.arg("-Zunstable-options"); - cmd.arg("-Winternal"); + if stage != "0" { + cmd.arg("-Wrustc::internal"); + } } } -- cgit 1.4.1-3-g733a5