Skip to content

Commit ec170be

Browse files
Rebase fallout
1 parent 526511e commit ec170be

File tree

1 file changed

+8
-11
lines changed
  • compiler/rustc_ast_lowering/src

1 file changed

+8
-11
lines changed

compiler/rustc_ast_lowering/src/lib.rs

+8-11
Original file line numberDiff line numberDiff line change
@@ -1351,17 +1351,14 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
13511351
*in_trait,
13521352
itctx,
13531353
),
1354-
ImplTraitContext::TypeAliasesOpaqueTy => {
1355-
let mut nested_itctx = ImplTraitContext::TypeAliasesOpaqueTy;
1356-
self.lower_opaque_impl_trait(
1357-
span,
1358-
hir::OpaqueTyOrigin::TyAlias,
1359-
def_node_id,
1360-
bounds,
1361-
false,
1362-
nested_itctx,
1363-
)
1364-
}
1354+
ImplTraitContext::TypeAliasesOpaqueTy => self.lower_opaque_impl_trait(
1355+
span,
1356+
hir::OpaqueTyOrigin::TyAlias,
1357+
def_node_id,
1358+
bounds,
1359+
false,
1360+
&mut ImplTraitContext::TypeAliasesOpaqueTy,
1361+
),
13651362
ImplTraitContext::Universal => {
13661363
let span = t.span;
13671364
let ident = Ident::from_str_and_span(&pprust::ty_to_string(t), span);

0 commit comments

Comments
 (0)