mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Save source & target types in hir
's expr_adjustments
This commit is contained in:
parent
927d56a67d
commit
91a89efcf2
3 changed files with 42 additions and 19 deletions
|
@ -60,7 +60,7 @@ pub(super) fn hints(
|
|||
}
|
||||
for adjustment in adjustments.into_iter().rev() {
|
||||
// FIXME: Add some nicer tooltips to each of these
|
||||
let text = match adjustment {
|
||||
let text = match adjustment.kind {
|
||||
Adjust::NeverToAny if config.adjustment_hints == AdjustmentHints::Always => {
|
||||
"<never-to-any>"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue