diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-21 08:54:31 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-21 08:54:31 +0000 |
commit | 9bb9fbab3ab603150990ef8f2df12bddc7104058 (patch) | |
tree | 40942ad355497fa78a5851a94ae363189db0b738 /crates/assists/src/assist_context.rs | |
parent | fa75e11eb699d4c959569ab8ab5934ba1ab9bc29 (diff) | |
parent | 64caa027b884b3458997318a01e99812e6bb6fca (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/assists/src/assist_context.rs')
0 files changed, 0 insertions, 0 deletions