diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-17 10:07:22 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-17 10:07:22 +0100 |
commit | 71e94b1d0bf7c58aa377513f010fcb3f56081f5f (patch) | |
tree | 3731d81c56d9419291fe2b8fb2b9e34fd547cd11 /crates/ra_assists/src/handlers/replace_unwrap_with_match.rs | |
parent | 1afdc579297f68dadbe8ee580040ec6ca95cc58b (diff) | |
parent | fd83d0e9ba4605d8060ff0eca83ae9de0202a8a7 (diff) |
Merge #4473
4473: Color macros r=matklad a=georgewfraser
Adds a fallback scope for macros. Before:
<img width="359" alt="Screen Shot 2020-05-15 at 7 31 03 PM" src="https://user-images.githubusercontent.com/1369240/82108339-a304d680-96e2-11ea-9521-e95d5d330c32.png">
After:
<img width="373" alt="Screen Shot 2020-05-15 at 7 29 58 PM" src="https://user-images.githubusercontent.com/1369240/82108308-81a3ea80-96e2-11ea-8660-7f6979df59bf.png">
Note how `hashset` in `maplit::hashset` is now yellow.
Fixes #4462
Co-authored-by: George Fraser <[email protected]>
Diffstat (limited to 'crates/ra_assists/src/handlers/replace_unwrap_with_match.rs')
0 files changed, 0 insertions, 0 deletions