diff options
Diffstat (limited to 'src/test/ui/invalid-self-argument/bare-fn-start.rs')
-rw-r--r-- | src/test/ui/invalid-self-argument/bare-fn-start.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/invalid-self-argument/bare-fn-start.rs b/src/test/ui/invalid-self-argument/bare-fn-start.rs deleted file mode 100644 index 7c580bc5a..000000000 --- a/src/test/ui/invalid-self-argument/bare-fn-start.rs +++ /dev/null @@ -1,6 +0,0 @@ -fn a(&self) { } -//~^ ERROR `self` parameter is only allowed in associated functions -//~| NOTE not semantically valid as function parameter -//~| NOTE associated functions are those in `impl` or `trait` definitions - -fn main() { } |