mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
outdated comment
This commit is contained in:
@@ -1044,8 +1044,6 @@ fn is_knowable<'o>(&mut self, stack: &TraitObligationStack<'o, 'tcx>) -> Option<
|
||||
}
|
||||
|
||||
/// 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
|
||||
|
||||
Reference in New Issue
Block a user