mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Remove unrelated change
This commit is contained in:
parent
1e9095ae8c
commit
a8a606cdc4
1 changed files with 2 additions and 4 deletions
|
@ -540,12 +540,10 @@ fn highlight_element(
|
|||
|
||||
let expr = prefix_expr.expr()?;
|
||||
let ty = sema.type_of_expr(&expr)?;
|
||||
let mut h = HighlightTag::Operator.into();
|
||||
if !ty.is_raw_ptr() {
|
||||
h
|
||||
return None;
|
||||
} else {
|
||||
h |= HighlightModifier::Unsafe;
|
||||
h
|
||||
HighlightTag::Operator | HighlightModifier::Unsafe
|
||||
}
|
||||
}
|
||||
T![!] if element.parent().and_then(ast::MacroCall::cast).is_some() => {
|
||||
|
|
Loading…
Reference in a new issue