mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
Merge #3423
3423: Remove stray dbg r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
077f8ac02c
1 changed files with 2 additions and 2 deletions
|
@ -219,10 +219,10 @@ fn highlight_element(
|
|||
CHAR => HighlightTag::CharLiteral.into(),
|
||||
LIFETIME => {
|
||||
let h = Highlight::new(HighlightTag::Lifetime);
|
||||
dbg!(match element.parent().map(|it| it.kind()) {
|
||||
match element.parent().map(|it| it.kind()) {
|
||||
Some(LIFETIME_PARAM) | Some(LABEL) => h | HighlightModifier::Definition,
|
||||
_ => h,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
k if k.is_keyword() => {
|
||||
|
|
Loading…
Reference in a new issue