rust/src/libsyntax/parse
Mazdak Farrokhzad 45b09453db
Rollup merge of #60676 - davidtwco:issue-60674, r=cramertj
Fix async desugaring providing wrong input to procedural macros.

Fixes #60674.

This PR fixes a minor oversight introduced by #60535 where unused `mut` binding modes were removed from the arguments to an `async fn` (as they were added to the statement that we insert into the closure body). However, this meant that the input to procedural macros was incorrect. This removes that and instead fixes the `unused_mut` error that it avoided.

r? @cramertj
cc @taiki-e
2019-05-09 23:56:18 +02:00
..
lexer Rollup merge of #60188 - estebank:recover-block, r=varkor 2019-05-09 23:56:09 +02:00
attr.rs Use SmallVec in TokenStreamBuilder. 2019-03-29 09:32:58 +11:00
classify.rs libsyntax => 2018 2019-02-07 02:33:01 +09:00
diagnostics.rs move some functions from parser.rs to diagostics.rs 2019-05-01 19:54:48 +08:00
mod.rs Rollup merge of #60188 - estebank:recover-block, r=varkor 2019-05-09 23:56:09 +02:00
parser.rs Rollup merge of #60676 - davidtwco:issue-60674, r=cramertj 2019-05-09 23:56:18 +02:00
token.rs Implement built-in await syntax 2019-05-07 14:45:53 -07:00
unescape.rs introduce unescape module 2019-05-02 15:31:57 +03:00
unescape_error_reporting.rs introduce unescape module 2019-05-02 15:31:57 +03:00