bors
90b1f5ae59
Auto merge of #76171 - estebank:turbofish-the-revenge, r=davidtwco
...
Detect turbofish with multiple type params missing leading `::`
Fix #76072 .
2020-09-15 10:14:52 +00:00
Esteban Küber
62effcbd5b
Detect turbofish with multiple type params missing leading ::
...
Fix #76072 .
2020-09-14 12:06:51 -07:00
Aaron Hill
156ef2bee8
Attach tokens to ast::Stmt
...
We currently only attach tokens when parsing a `:stmt` matcher for a
`macro_rules!` macro. Proc-macro attributes on statements are still
unstable, and need additional work.
2020-09-10 17:33:06 -04:00
Aaron Hill
de4bd9f0f8
Attach TokenStream to ast::Block
...
A `Block` does not have outer attributes, so we only capture tokens when
parsing a `macro_rules!` matcher
2020-09-10 17:33:05 -04:00
Tyler Mandry
738b8eadfd
Rollup merge of #76132 - Aaron1011:mac-call-stmt, r=petrochenkov
...
Factor out StmtKind::MacCall fields into `MacCallStmt` struct
In PR #76130 , I add a fourth field, which makes using a tuple variant
somewhat unwieldy.
2020-09-01 18:24:33 -07:00
Aaron Hill
090b16717a
Factor out StmtKind::MacCall fields into MacCallStmt struct
...
In PR #76130 , I add a fourth field, which makes using a tuple variant
somewhat unwieldy.
2020-08-30 18:38:53 -04:00
Caleb Cartwright
883b1e7592
parser: restore some fn visibility for rustfmt
2020-08-30 13:04:36 -05:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00