aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_srv/src/proc_macro/bridge/handle.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-12-21 08:54:31 +0000
committerGitHub <[email protected]>2020-12-21 08:54:31 +0000
commit9bb9fbab3ab603150990ef8f2df12bddc7104058 (patch)
tree40942ad355497fa78a5851a94ae363189db0b738 /crates/proc_macro_srv/src/proc_macro/bridge/handle.rs
parentfa75e11eb699d4c959569ab8ab5934ba1ab9bc29 (diff)
parent64caa027b884b3458997318a01e99812e6bb6fca (diff)
Merge #6965
6965: Properly attach attributes to Param instead of parent ParamList r=matklad a=Veykril Fixes #2783, fixes #2781 The problem with `let _a = [0,#[cfg(feature = "L")]0];` has already been fixed some time ago it seems: <details> <summary>Syntax Tree for the const item</summary> ``` [email protected] [email protected] "let" [email protected] " " [email protected] [email protected] [email protected] "_a" [email protected] " " [email protected] "=" [email protected] " " [email protected] [email protected] "[" [email protected] [email protected] "0" [email protected] "," [email protected] [email protected] [email protected] "#" [email protected] "[" [email protected] [email protected] [email protected] [email protected] "cfg" [email protected] [email protected] "(" [email protected] "feature" [email protected] " " [email protected] "=" [email protected] " " [email protected] "\"L\"" [email protected] ")" [email protected] "]" [email protected] "0" [email protected] "]" [email protected] ";" ``` </details> Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/proc_macro_srv/src/proc_macro/bridge/handle.rs')
0 files changed, 0 insertions, 0 deletions