Include `const`-ness of function in parameter popup
When calling a function like Mutex::new, it would be helpful to know whether the call is valid in a const context. rust-analyzer could help with that if it included the const modifier in the function parameter popup.
Same for async. I think the problem is that https://github.com/rust-lang/rust-analyzer/blob/5fead606bc88d9ed3cb1109bea9c1cb1c42b4ac0/crates/ide/src/signature_help.rs#L182 rolls its own formatting, but we can't use HirDisplay on a Callable.
but we can't use
HirDisplayon aCallable
Should be easy enough to implement, though I think care must be taken since the display code makes some extra assumptions for hover output that we might not want here.
Should we use HirDisplay here? In signature_help, we want to highlight the parameter corresponding to the currents position, but HirDisplay seems unable to achieving this.