summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-22370.rs
blob: bab0469c011934b27a3330b21531e9d0540fb4f8 (plain)
1
2
3
4
5
6
trait A<T=Self> {}

fn f(a: &dyn A) {}
//~^ ERROR E0393

fn main() {}