Inline and remove Session::compile_status
.
Because it's now simple enough that it doesn't provide much benefit.
This commit is contained in:
parent
72b172bdf6
commit
c2512a130f
5 changed files with 19 additions and 16 deletions
|
@ -487,7 +487,9 @@ fn collate_raw_dylibs<'a, 'b>(
|
|||
}
|
||||
}
|
||||
}
|
||||
sess.compile_status()?;
|
||||
if let Some(guar) = sess.dcx().has_errors() {
|
||||
return Err(guar);
|
||||
}
|
||||
Ok(dylib_table
|
||||
.into_iter()
|
||||
.map(|(name, imports)| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue