render const value in completions label details - #23266
Conversation
|
This would be very helpful! RustRover does something similar and it's quite helpful when looking over convenience shortcuts for types you aren't familiar with. Would it be possible to align the syntax of this a bit more with that of associated type defaults? https://rust-lang.github.io/rfcs/2532-associated-type-defaults.html Eg ct A = 123 pub const A: i32
// Becomes
ct A pub const A: i32 = 123Edit: actually not sure, looking at the examples in the screenshot, how it works right now would look a lot more reasonable than shoving everything to the right edge. |
6a78f64 to
d69e3f8
Compare
|
CI failure is a regression in #23257 |
|
You need to rebase on master. |
d69e3f8 to
fc5a9ef
Compare
|
done |
|
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
88fbccd to
f475bb1
Compare
|
You probably need to include something from minicore. |
f475bb1 to
26bf4c2
Compare
|
Ok, I added that under |
26bf4c2 to
7c6a3f8
Compare
|
Is "feaures" a typo in rustc? 😂️ |
7c6a3f8 to
12a9f65
Compare
|
You overrode the commit message... |
12a9f65 to
a255dd5
Compare

I think this would be neat. You may be brutal with the feedback on the code.