rustc: Don't continue to resolve if there's an error in lang_items
This confused me when it happened.
This commit is contained in:
parent
1ba6fa4777
commit
1adbb4520b
@ -441,5 +441,6 @@ pub fn collect_language_items(crate: @crate,
|
||||
let mut collector = LanguageItemCollector(crate, session);
|
||||
collector.collect();
|
||||
let LanguageItemCollector { items, _ } = collector;
|
||||
session.abort_if_errors();
|
||||
items
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user