diff options
| author | Ellen <supbscripter@gmail.com> | 2022-08-01 20:15:58 +0100 |
|---|---|---|
| committer | Ellen <supbscripter@gmail.com> | 2022-08-01 20:15:58 +0100 |
| commit | 49d001c5f364193350f5ef92522f3be7828e34e8 (patch) | |
| tree | c6e05659068d243178b6352f93a8e36faa8ae387 /compiler/rustc_trait_selection/src | |
| parent | 825a7cc65c4b21fd4f1b8f3b9ad204594de1e8c2 (diff) | |
| download | rust-49d001c5f364193350f5ef92522f3be7828e34e8.tar.gz rust-49d001c5f364193350f5ef92522f3be7828e34e8.zip | |
fmt...
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/project.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/project.rs b/compiler/rustc_trait_selection/src/traits/project.rs index c4b7c2ea638..9c2f1371b02 100644 --- a/compiler/rustc_trait_selection/src/traits/project.rs +++ b/compiler/rustc_trait_selection/src/traits/project.rs @@ -744,10 +744,7 @@ impl<'tcx> TypeFolder<'tcx> for BoundVarReplacer<'_, 'tcx> { } ty::ConstKind::Bound(debruijn, bound_const) if debruijn >= self.current_index => { let universe = self.universe_for(debruijn); - let p = ty::PlaceholderConst { - universe, - name: bound_const, - }; + let p = ty::PlaceholderConst { universe, name: bound_const }; self.mapped_consts.insert(p, bound_const); self.infcx .tcx |
