diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-05-07 00:38:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-07 00:38:45 +0200 |
| commit | 01e9d09d3bbb35a1fbb0a2a353cfcf90a4feb050 (patch) | |
| tree | 3432196804ef561dd5f16833d8d2fbab6a5b0689 /compiler/rustc_trait_selection/src | |
| parent | 3c5da6e6b9b0b3a7969036732ba45cd307d2cf93 (diff) | |
| parent | b9811418ddcd53dddae5bfe3ebeca5b071fff7f4 (diff) | |
| download | rust-01e9d09d3bbb35a1fbb0a2a353cfcf90a4feb050.tar.gz rust-01e9d09d3bbb35a1fbb0a2a353cfcf90a4feb050.zip | |
Rollup merge of #84987 - lcnr:nits, r=Mark-Simulacrum
small nits
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -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 727285e4927..08d452900c8 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 |
