summaryrefslogtreecommitdiffstats
path: root/src/test/ui/type/issue-101866.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/type/issue-101866.rs')
-rw-r--r--src/test/ui/type/issue-101866.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/type/issue-101866.rs b/src/test/ui/type/issue-101866.rs
deleted file mode 100644
index d332c4adb..000000000
--- a/src/test/ui/type/issue-101866.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-trait TraitA<T> {
- fn func();
-}
-
-struct StructA {}
-
-impl TraitA<i32> for StructA {
- fn func() {}
-}
-
-fn main() {
- TraitA::<i32>::func();
- //~^ ERROR: cannot call associated function on trait without specifying the corresponding `impl` type [E0790]
- //~| help: use the fully-qualified path to the only available implementation
-}