rust/tests/ui/resolve/issue-103202.rs

8 lines
99 B
Rust

struct S {}
impl S {
fn f(self: &S::x) {} //~ ERROR ambiguous associated type
}
fn main() {}