]> git.proxmox.com Git - rustc.git/blame - src/test/ui/inference/need_type_info/self-ty-in-path.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / inference / need_type_info / self-ty-in-path.rs
CommitLineData
923072b8
FG
1// Test that we don't ICE when encountering a `Self` in a path.
2struct TestErr<T>(T);
3
4impl<T> TestErr<T> {
5 fn func_a<U>() {}
6
7 fn func_b() {
8 Self::func_a();
9 //~^ ERROR type annotations needed
10 }
11}
12
13fn main() {}