Skip to content

Commit 90aee14

Browse files
committed
Skip computing param_env and size if not needed
1 parent 117a60e commit 90aee14

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustc_middle/ty/sty.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2225,4 +2225,3 @@ impl<'tcx> TyS<'tcx> {
22252225
tcx.layout_of(tcx.param_env(did).and(self)).map(|layout| layout.is_zst()).unwrap_or(false)
22262226
}
22272227
}
2228-

0 commit comments

Comments
 (0)