Aaron Hill
758834d3e2
Only eat semicolons for statements that need them
...
When parsing a statement (e.g. inside a function body),
we now consider `struct Foo {};` and `$stmt;` to each consist
of two statements: `struct Foo {}` and `;`, and `$stmt` and `;`.
As a result, an attribute macro invoke as
`fn foo() { #[attr] struct Bar{}; }` will see `struct Bar{}` as its
input. Additionally, the 'unused semicolon' lint now fires in more
places.
2020-11-26 17:08:35 -05:00
..
2020-11-20 21:02:09 +01:00
2020-11-26 17:08:35 -05:00
2020-11-23 19:02:47 +01:00
2020-11-23 14:14:06 -08:00
2020-11-20 00:00:00 +00:00
2020-11-26 17:08:35 -05:00
2020-11-25 07:25:19 +00:00
2020-11-26 13:39:09 +01:00
2020-11-23 19:15:10 -08:00
2020-11-23 14:14:06 -08:00
2020-11-26 18:51:45 +00:00
2020-11-23 14:14:06 -08:00
2020-11-26 17:08:35 -05:00
2020-11-23 14:14:06 -08:00
2020-11-19 19:25:20 +03:00
2020-11-19 15:50:55 -05:00
2020-11-22 13:45:14 +00:00
2020-11-26 13:39:00 +01:00
2020-11-26 17:08:35 -05:00
2020-11-24 16:12:23 -08:00
2020-11-21 14:43:34 -05:00
2020-11-25 09:45:33 -08:00
2020-11-19 15:50:55 -05:00
2020-11-22 13:45:14 +00:00
2020-11-26 13:39:11 +01:00
2020-11-25 13:15:48 -08:00
2020-11-26 13:39:18 +01:00
2020-11-26 17:08:35 -05:00
2020-11-25 00:00:00 +00:00
2020-11-22 20:32:36 -05:00
2020-11-21 09:06:45 +01:00
2020-11-24 16:12:23 -08:00
2020-11-24 20:08:54 -08:00
2020-11-26 13:39:05 +01:00
2020-11-22 17:11:41 -05:00
2020-11-23 15:25:47 +01:00
2020-11-19 21:57:29 +01:00
2020-11-26 14:14:57 +00:00