Laurențiu Nicola

Results 961 comments of Laurențiu Nicola

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`.

Dunno, works for me: ![image](https://github.com/rust-lang/rust-analyzer/assets/308347/4e4881ff-a457-493a-9279-99e943da3a08) There's also this: > NOTE: run `cargo test` locally and commit the updated files

![image](https://github.com/rust-lang/rust-analyzer/assets/308347/04898183-73a4-46e2-bd00-f6cb86bbc47f) ![image](https://github.com/rust-lang/rust-analyzer/assets/308347/4ae60fd1-b767-4768-9ccd-36f7522e123e)

Looks like we don't display `Where T: Tr,` properly, and we should probably respect `#[unstable]` and `#[doc(hidden)]`.

"replace with the correct return type: `S

Closing, since there's not enough information to do anything about this. But if `cargo clean` fixes it, it's probably not us. I think one way to cause an issue is...

Try `cargo check` on that code and you'll see what I mean.

Maybe. The rust-analyzer diagnostics and assists are completely separate from the ones in the compiler. Most of the time they're worse, but I've seen cases where the RA fixes were...