2021-05-16 11:33:41 -05:00
|
|
|
use std::ops::Deref;
|
|
|
|
trait Foo {
|
|
|
|
type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
|
2023-02-23 11:27:06 -06:00
|
|
|
//~^ ERROR associated type takes 1 lifetime argument but 0 lifetime arguments were supplied
|
2022-09-26 19:45:50 -05:00
|
|
|
//~| ERROR associated type bindings are not allowed here
|
2021-05-16 11:33:41 -05:00
|
|
|
//~| HELP add missing
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|