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.
1 parent 23d880b commit 51e466dCopy full SHA for 51e466d
src/librustc_driver/lib.rs
@@ -1238,7 +1238,7 @@ pub fn init_rustc_env_logger() {
1238
env_logger::init_from_env("RUSTC_LOG");
1239
}
1240
1241
-pub fn main() {
+pub fn main() -> ! {
1242
let start = Instant::now();
1243
init_rustc_env_logger();
1244
let mut callbacks = TimePassesCallbacks::default();
@@ -1259,5 +1259,5 @@ pub fn main() {
1259
});
1260
// The extra `\t` is necessary to align this label with the others.
1261
print_time_passes_entry(callbacks.time_passes, "\ttotal", start.elapsed());
1262
- process::exit(exit_code);
+ process::exit(exit_code)
1263
0 commit comments