Skip to content

Commit

Permalink
Skip computing param_env and size if not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Jul 22, 2020
1 parent 117a60e commit 90aee14
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_middle/ty/sty.rs
Expand Up @@ -2225,4 +2225,3 @@ impl<'tcx> TyS<'tcx> {
tcx.layout_of(tcx.param_env(did).and(self)).map(|layout| layout.is_zst()).unwrap_or(false)
}
}

0 comments on commit 90aee14

Please sign in to comment.