Skip computing param_env and size if not needed
This commit is contained in:
parent
117a60e1f5
commit
90aee14eb9
1 changed files with 0 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue