diff options
| author | lcnr <rust@lcnr.de> | 2021-05-06 16:27:59 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2021-05-06 16:27:59 +0200 |
| commit | b9811418ddcd53dddae5bfe3ebeca5b071fff7f4 (patch) | |
| tree | d19124d1d0b9ae451d77ab77ec60c713259b1648 | |
| parent | 513c56a6113ced2c7e031355e3f2ce61279926ec (diff) | |
| download | rust-b9811418ddcd53dddae5bfe3ebeca5b071fff7f4.tar.gz rust-b9811418ddcd53dddae5bfe3ebeca5b071fff7f4.zip | |
outdated comment
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/select/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/select/mod.rs b/compiler/rustc_trait_selection/src/traits/select/mod.rs index e4aabbdb7ed..1851b98b505 100644 --- a/compiler/rustc_trait_selection/src/traits/select/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/select/mod.rs @@ -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 |
