Uh oh!
There was an error while loading. Please reload this page.
Warn about multiple conflicting #[repr] hints - #34623
Conversation
rust-highfive
commented
Jul 3, 2016
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
Aatch
commented
Jul 4, 2016
I wonder if this should instead be a warning instead of an error? Also, @nagisa is the use of |
nagisa
commented
Jul 4, 2016
@Aatch what do you mean/are you referring to? |
Aatch
commented
Jul 4, 2016
@nagisa one of the tests is failing, |
lambda-fairy
commented
Jul 4, 2016
Okay, fixed the error in |
nagisa
commented
Jul 4, 2016
Ah, no, I don’t think it was intentional. |
I've switched to a warning instead. Should we do a crater run with this patch? I'm curious as to which crates make this mistake in the wild. |
lambda-fairy
commented
Jul 28, 2016
Just noticed this weird test failure: Anyone know what's going on here? The test seems to expect an extra space (??) |
bors
commented
Aug 25, 2016
☔ The latest upstream changes (presumably #35764) made this pull request unmergeable. Please resolve the merge conflicts. |
lambda-fairy
commented
Aug 25, 2016
I've rewritten the patch to use the HIR machinery. It should be ready to merge now. Thanks @eddyb for your help on IRC! |
There was a problem hiding this comment.
You should pick the first available number after the highest in use.
lambda-fairy
commented
Aug 25, 2016
@eddyb I've changed the error code to the one after the last. Should I squash the two commits, or leave them as-is? |
eddyb
commented
Aug 25, 2016
@lfairy Squashing/amending is preferred in such cases. |
lambda-fairy
commented
Aug 25, 2016
Sure, I've squashed it now. |
bors
commented
Aug 28, 2016
☔ The latest upstream changes (presumably #36049) made this pull request unmergeable. Please resolve the merge conflicts. |
lambda-fairy
commented
Aug 28, 2016
Rebased. |
bors
commented
Aug 30, 2016
☔ The latest upstream changes (presumably #36066) made this pull request unmergeable. Please resolve the merge conflicts. |
lambda-fairy
commented
Aug 31, 2016
Rebased again. By the way: is anyone looking at this PR? It's been open for a while now, and I'd rather get it merged soon before the diagnostics system gets more churn. |
Aatch
commented
Aug 31, 2016
@bors r+ |
bors
commented
Aug 31, 2016
📌 Commit e2e5807 has been approved by |
bors
commented
Aug 31, 2016
⌛ Testing commit e2e5807 with merge b96f323... |
bors
commented
Aug 31, 2016
💔 Test failed - auto-win-gnu-32-opt-rustbuild |
lambda-fairy
commented
Aug 31, 2016
Apparently someone else added a diagnostic code in the mean time 😢 Should be fixed now. @Aatch re-r? |
eddyb
commented
Aug 31, 2016
@bors r=Aatch |
bors
commented
Aug 31, 2016
📌 Commit 42b75a5 has been approved by |
bors
commented
Aug 31, 2016
Warn about multiple conflicting #[repr] hints Closes#34622
Closes#34622