summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/suggest-assoc-fn-call-deref.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/suggestions/suggest-assoc-fn-call-deref.fixed')
-rw-r--r--src/test/ui/suggestions/suggest-assoc-fn-call-deref.fixed15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/suggestions/suggest-assoc-fn-call-deref.fixed b/src/test/ui/suggestions/suggest-assoc-fn-call-deref.fixed
deleted file mode 100644
index 8d96cf590..000000000
--- a/src/test/ui/suggestions/suggest-assoc-fn-call-deref.fixed
+++ /dev/null
@@ -1,15 +0,0 @@
-// run-rustfix
-
-#![allow(unused)]
-
-struct Foo<T>(T);
-
-impl<T> Foo<T> {
- fn test() -> i32 { 1 }
-}
-
-fn main() {
- let x = Box::new(Foo(1i32));
- Foo::<i32>::test();
- //~^ ERROR no method named `test` found for struct `Box<Foo<i32>>` in the current scope
-}