Skip to content

Commit b981141

Browse files
committed
outdated comment
1 parent 513c56a commit b981141

File tree

1 file changed

+0
-2
lines changed
  • compiler/rustc_trait_selection/src/traits/select

1 file changed

+0
-2
lines changed

compiler/rustc_trait_selection/src/traits/select/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1044,8 +1044,6 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
10441044
}
10451045

10461046
/// Returns `true` if the global caches can be used.
1047-
/// Do note that if the type itself is not in the
1048-
/// global tcx, the local caches will be used.
10491047
fn can_use_global_caches(&self, param_env: ty::ParamEnv<'tcx>) -> bool {
10501048
// If there are any inference variables in the `ParamEnv`, then we
10511049
// always use a cache local to this particular scope. Otherwise, we

0 commit comments

Comments
 (0)