mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Revert #14285
This commit is contained in:
parent
14b9d182d5
commit
71e1c025f8
3 changed files with 14 additions and 2 deletions
|
@ -100,7 +100,6 @@ pub(crate) fn path_to_const(
|
|||
};
|
||||
Some(ConstData { ty, value }.intern(Interner))
|
||||
}
|
||||
Some(ValueNs::ConstId(c)) => db.const_eval(c).ok(),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue