Remove the Forest type

This commit is contained in:
John Kåre Alsaker 2020-02-06 13:41:37 +01:00
parent 20ce2f6038
commit 623dcb02db
8 changed files with 50 additions and 77 deletions

View file

@ -87,7 +87,7 @@ pub fn run(options: Options) -> i32 {
compiler.enter(|queries| {
let lower_to_hir = queries.lower_to_hir()?;
let mut opts = scrape_test_config(lower_to_hir.peek().0.untracked_krate());
let mut opts = scrape_test_config(lower_to_hir.peek().0);
opts.display_warnings |= options.display_warnings;
let enable_per_target_ignores = options.enable_per_target_ignores;
let mut collector = Collector::new(