diff options
Diffstat (limited to 'src/test/ui/self/point-at-arbitrary-self-type-trait-method.rs')
-rw-r--r-- | src/test/ui/self/point-at-arbitrary-self-type-trait-method.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/self/point-at-arbitrary-self-type-trait-method.rs b/src/test/ui/self/point-at-arbitrary-self-type-trait-method.rs deleted file mode 100644 index 53d992771..000000000 --- a/src/test/ui/self/point-at-arbitrary-self-type-trait-method.rs +++ /dev/null @@ -1,10 +0,0 @@ -trait B { fn foo(self: Box<Self>); } -struct A; - -impl B for A { - fn foo(self: Box<Self>) {} -} - -fn main() { - A.foo() //~ ERROR E0599 -} |