Skip to content

Commit e302996

Browse files
committed
Fix pretty tests
1 parent 3bd9347 commit e302996

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tests/pretty/delegation-self-rename.pp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@
1919
#[attr = Inline(Hint)]
2020
fn foo<'a, Self, A, const B: _, const B2: _, T, U,
2121
impl FnOnce() -> usize>(self: _, arg1: _) -> _ where
22-
'a:'a { Trait::<'a, A, B>::foo::<B2, T, U>(self, arg1) }
22+
'a:'a { <Self as Trait::<'a, A, B>>::foo::<B2, T, U>(self, arg1) }
2323
#[attr = Inline(Hint)]
2424
fn bar<Self, impl FnOnce() -> usize>(self: _, arg1: _)
25-
-> _ { Trait::<'static, (), true>::foo::<true, (), ()>(self, arg1) }
25+
->
26+
_ {
27+
<Self as Trait::<'static, (), true>>::foo::<true, (), ()>(self, arg1)
28+
}
2629
2730
#[attr = Inline(Hint)]
2831
fn foo2<'a, This, A, const B: _, const B2: _, T, U,

0 commit comments

Comments
 (0)