rust/tests/ui/issues/issue-22370.rs
2023-01-11 09:32:08 +00:00

7 lines
70 B
Rust

trait A<T=Self> {}
fn f(a: &dyn A) {}
//~^ ERROR E0393
fn main() {}