eat CloseDelim

This commit is contained in:
Axary 2018-11-16 13:54:49 +01:00
parent 80c2101b20
commit 218e35efa1
2 changed files with 17 additions and 2 deletions

View file

@ -0,0 +1,8 @@
error: unexpected `self` argument in bare function
--> $DIR/bare-function-self.rs:12:11
|
LL | fn a(&self) { }
| ^
error: aborting due to previous error