[draft] Do not emit multiple independent notes on linker errors#151345
[draft] Do not emit multiple independent notes on linker errors#151345estebank wants to merge 4 commits intorust-lang:mainfrom
Conversation
|
rustbot has assigned @jdonszelmann. Use |
1bb5eb1 to
cc96533
Compare
cc96533 to
1c77657
Compare
This comment has been minimized.
This comment has been minimized.
|
r? me i'd highly appreciate some context or elaboration on changes, like, why do we want to change it and/or what's bad about current approach (it's fine if you provide it later, no rush here) oh, and also it might take some time, i will try to take a look as soon as possible but review time might be up like to day or two and if it's not yet ready to be reviewed (i assume it isn't because of draft tag) could you give me some sort of signal when it's ready |
|
@Kivooeo right now I'm just trying to see if these errors are being tested anywhere (while not with access to a windows machine to do so), hence the early publication of the PR. I noticed this thread where the output was which doesn't really follow the "grammar" of our errors, by having related information rendered as independent notes. The output should instead be closer to Initially just wanted to add the link, but as I looked around in that file I noticed that there were two similar cases using the same, IMO, bad strategy. So I tried to unify them. I'll update the PR description once 1) I've validated that these are being tested at all (I don't think they are) and 2) I've cleaned it up further. |
|
I have a windows machine I can use to test this if that’s helpful. |
|
I believe windows also has free ISOs on their website, which you can run in a VM. |
|
@jyn514 yes, I'll try to replicate these cases manually. I don't think we are testing them :-/ It is about half a dozen individual cases, not all of which I'm confident I can trigger :) |
|
☔ The latest upstream changes made this pull request unmergeable. Please resolve the merge conflicts. |
These are hard to test in CI due to relying (in part) on how (or if) Visual Studio is set up and whether or not msys2's tools are in |
No description provided.