Rebase fallout
This commit is contained in:
parent
526511e86b
commit
ec170bef0d
1 changed files with 8 additions and 11 deletions
|
@ -1351,17 +1351,14 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
||||||
*in_trait,
|
*in_trait,
|
||||||
itctx,
|
itctx,
|
||||||
),
|
),
|
||||||
ImplTraitContext::TypeAliasesOpaqueTy => {
|
ImplTraitContext::TypeAliasesOpaqueTy => self.lower_opaque_impl_trait(
|
||||||
let mut nested_itctx = ImplTraitContext::TypeAliasesOpaqueTy;
|
|
||||||
self.lower_opaque_impl_trait(
|
|
||||||
span,
|
span,
|
||||||
hir::OpaqueTyOrigin::TyAlias,
|
hir::OpaqueTyOrigin::TyAlias,
|
||||||
def_node_id,
|
def_node_id,
|
||||||
bounds,
|
bounds,
|
||||||
false,
|
false,
|
||||||
nested_itctx,
|
&mut ImplTraitContext::TypeAliasesOpaqueTy,
|
||||||
)
|
),
|
||||||
}
|
|
||||||
ImplTraitContext::Universal => {
|
ImplTraitContext::Universal => {
|
||||||
let span = t.span;
|
let span = t.span;
|
||||||
let ident = Ident::from_str_and_span(&pprust::ty_to_string(t), span);
|
let ident = Ident::from_str_and_span(&pprust::ty_to_string(t), span);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue