summaryrefslogtreecommitdiffstats
path: root/src/test/ui/inference/need_type_info/self-ty-in-path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/inference/need_type_info/self-ty-in-path.rs')
-rw-r--r--src/test/ui/inference/need_type_info/self-ty-in-path.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/inference/need_type_info/self-ty-in-path.rs b/src/test/ui/inference/need_type_info/self-ty-in-path.rs
deleted file mode 100644
index 768a8cc37..000000000
--- a/src/test/ui/inference/need_type_info/self-ty-in-path.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-// 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() {}