Walk un-shifted nested impl Trait
in trait when setting up default trait method assumptions
This commit is contained in:
parent
da7c50c089
commit
9f80c75703
2 changed files with 32 additions and 16 deletions
|
@ -13,4 +13,10 @@ trait Trait {
|
|||
fn method(&self) -> impl Trait<Type = impl Sized + '_>;
|
||||
}
|
||||
|
||||
trait Trait2 {
|
||||
type Type;
|
||||
|
||||
fn method(&self) -> impl Trait2<Type = impl Trait2<Type = impl Sized + '_> + '_>;
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue