Rollup merge of #84987 - lcnr:nits, r=Mark-Simulacrum

small nits
This commit is contained in:
Dylan DPC 2021-05-07 00:38:45 +02:00 committed by GitHub
commit 01e9d09d3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 8 deletions

View file

@ -1044,8 +1044,6 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
}
/// Returns `true` if the global caches can be used.
/// Do note that if the type itself is not in the
/// global tcx, the local caches will be used.
fn can_use_global_caches(&self, param_env: ty::ParamEnv<'tcx>) -> bool {
// If there are any inference variables in the `ParamEnv`, then we
// always use a cache local to this particular scope. Otherwise, we