aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_srv/src/proc_macro/bridge/mod.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-05-19 19:30:36 +0100
committerGitHub <[email protected]>2021-05-19 19:30:36 +0100
commit2d76b176c0b0f86648a038a5e4ca84fb04e809dc (patch)
tree72009d761e24e5807e3ffc0b1f49509301ed144f /crates/proc_macro_srv/src/proc_macro/bridge/mod.rs
parentc7196620abd5e9bab4fbd53388da361f0f6987a1 (diff)
parent5c5fedb9454b4fcb237728da7c9e29e981fcdc3a (diff)
Merge #8884
8884: fix: add_explicit_type produces invalid code on `@` patterns r=Veykril a=iDawer In ```rust let name @ () = (); ``` an explicit type should be inserted after the pattern, not just after the name. `let` statement defined as `LetStmt = Attr* 'let' Pat (':' Type)? '=' initializer:Expr ';'` Co-authored-by: Dawer <[email protected]>
Diffstat (limited to 'crates/proc_macro_srv/src/proc_macro/bridge/mod.rs')
0 files changed, 0 insertions, 0 deletions