Uh oh!
There was an error while loading. Please reload this page.
Fix associated types in copy implementations - #38152
Conversation
There was a problem hiding this comment.
nit: maybe separate each arg on its own line?
There was a problem hiding this comment.
I'd say just rustfmt this new file and be done with it.
mrhota
commented
Dec 4, 2016
curiously, the test will ICE immediately with Stable rustc on play.rust-lang.org, but will timeout with beta and nightly. |
There was a problem hiding this comment.
Pre-existing, but it seems like it would be nice to give both the variant name and the field name -- can we do that instead?
There was a problem hiding this comment.
I'd say just rustfmt this new file and be done with it.
There was a problem hiding this comment.
Is this file all code collected from other places, or did you make changes to it? I couldn't tell.
There was a problem hiding this comment.
Code moved from coherence::mod.
arielb1
commented
Dec 9, 2016
How do you rustfmt? |
nikomatsakis
commented
Dec 10, 2016
@arielb1 |
bors
commented
Dec 21, 2016
☔ The latest upstream changes (presumably #38099) made this pull request unmergeable. Please resolve the merge conflicts. |
nikomatsakis
commented
Dec 27, 2016
@arielb1 if you don't feel like running rustfmt, no biggy, but let's rebase :) |
nikomatsakis
commented
Jan 3, 2017
@bors r+ |
bors
commented
Jan 3, 2017
📌 Commit 14efebc has been approved by |
arielb1
commented
Jan 3, 2017
I was just going to rustfmt the new file and add better error reporting. @bors r- |
no functional changes
There was a problem hiding this comment.
can we make this a ui test? I'd like to see precisely where the span is, since it's critical to the message
Span the affected fields instead of reporting the field/variant name.
| --> $DIR/E0204.rs:27:6 | ||
| | | ||
| 23 | Bar { x: Vec<u32> }, | ||
| | ----------- this field does not implement `Copy` |
nikomatsakis
commented
Jan 3, 2017
@bors r+ |
bors
commented
Jan 3, 2017
📌 Commit 4cab293 has been approved by |
bors
commented
Jan 3, 2017
⌛ Testing commit 4cab293 with merge be89c6b... |
bors
commented
Jan 3, 2017
💔 Test failed - status-appveyor |
this makes error messages consistent across architectures
arielb1
commented
Jan 4, 2017
@bors r=nikomatsakis |
bors
commented
Jan 4, 2017
📌 Commit 5fad51e has been approved by |
bors
commented
Jan 4, 2017
⌛ Testing commit 5fad51e with merge 5e8f802... |
bors
commented
Jan 4, 2017
💔 Test failed - status-appveyor |
arielb1
commented
Jan 4, 2017
bors
commented
Jan 4, 2017
⌛ Testing commit 5fad51e with merge 4f1a16e... |
bors
commented
Jan 4, 2017
💔 Test failed - status-travis |
Network Error: @bors retry |
bors
commented
Jan 4, 2017
⌛ Testing commit 5fad51e with merge 60812a8... |
bors
commented
Jan 4, 2017
⌛ Testing commit 5fad51e with merge 7bd015d... |
bors
commented
Jan 4, 2017
⌛ Testing commit 5fad51e with merge 2b62184... |
bors
commented
Jan 4, 2017
💔 Test failed - status-travis |
arielb1
commented
Jan 4, 2017
bors
commented
Jan 5, 2017
⌛ Testing commit 5fad51e with merge 90618ce... |
bors
commented
Jan 5, 2017
💔 Test failed - status-travis |
arielb1
commented
Jan 5, 2017
@bors retry |
bors
commented
Jan 5, 2017
Fix associated types in copy implementations Fixes an ICE and an error in checking copy implementations. r? @nikomatsakis
bors
commented
Jan 5, 2017
☀️ Test successful - status-appveyor, status-travis |
Fixes an ICE and an error in checking copy implementations.
r? @nikomatsakis