mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Simplify inlay hints needs_resolve
This commit is contained in:
parent
f07489ada9
commit
3115fd8b41
15 changed files with 6 additions and 24 deletions
|
@ -31,7 +31,6 @@ pub(super) fn hints(
|
|||
if ty.lifetime().is_none() {
|
||||
let t = ty.amp_token()?;
|
||||
acc.push(InlayHint {
|
||||
needs_resolve: false,
|
||||
range: t.text_range(),
|
||||
kind: InlayKind::Lifetime,
|
||||
label: "'static".into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue