rust icon indicating copy to clipboard operation
rust copied to clipboard

[Proof of concept] Recover from struct literals with placeholder path

Open fmease opened this issue 1 year ago • 1 comments

I'm surprised my naive approach seems to work but it feels more than hacky (skipping name resolution entirely). I hope to gather some feedback for how to make this more robust and a bit cleaner and for how to resolve the various FIXME(fmease)s I added.

Not sure if I will continue this work by the way, it was a fun experiment on a Saturday evening. Of course, it would be awesome if this landed in some way or another :)

Fixes #98282. Doesn't address #105398 yet.

r? diagnostics

fmease avatar Mar 10 '24 11:03 fmease

If you want to chat about this approach, happy to, but I've removed the S-waiting-on-review since not sure if you want input or not.

compiler-errors avatar Mar 12 '24 18:03 compiler-errors

:umbrella: The latest upstream changes (presumably #124277) made this pull request unmergeable. Please resolve the merge conflicts.

bors avatar Apr 23 '24 09:04 bors