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

8 lines
99 B
Rust
Raw Normal View History

2022-10-18 21:17:46 -05:00
struct S {}
impl S {
fn f(self: &S::x) {} //~ ERROR ambiguous associated type
}
fn main() {}