Skip to content

Commit

Permalink
Remove lower_to_hir() call from prepare_output().
Browse files Browse the repository at this point in the history
It's a false dependency. The result isn't used and there are no
relevant side-effects.
  • Loading branch information
nnethercote committed Sep 1, 2019
1 parent d61605c commit cd0c21b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_interface/queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ impl Compiler {

pub fn prepare_outputs(&self) -> Result<&Query<OutputFilenames>> {
self.queries.prepare_outputs.compute(|| {
self.lower_to_hir()?;
let krate = self.expansion()?;
let krate = krate.peek();
let crate_name = self.crate_name()?;
Expand Down

0 comments on commit cd0c21b

Please sign in to comment.