blob: 768a8cc377823440dd893a66e42e06b5eaa08537 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Test that we don't ICE when encountering a `Self` in a path.
struct TestErr<T>(T);
impl<T> TestErr<T> {
fn func_a<U>() {}
fn func_b() {
Self::func_a();
//~^ ERROR type annotations needed
}
}
fn main() {}
|