Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRegression in fxsm, Rust 1.17 #40966
Comments
brson
added
the
regression-from-stable-to-beta
label
Mar 31, 2017
This comment has been minimized.
This comment has been minimized.
vityafx
commented
Mar 31, 2017
|
Yes, I know that. Thank you very much for highlighting me, I appreciate it! You guys do very nice work testing the beta on crates! I will fix it soon. Is there anything I should do in this issue? |
This comment has been minimized.
This comment has been minimized.
|
@vityafx Nope! Just making you aware. If you determine this is our bug, please let us know the details. |
This comment has been minimized.
This comment has been minimized.
|
Glancing briefly at the code, the error arises because the code fails to find a cc @jseyfried -- do you know of any changes we made in this area, i.e., in terms of what tokens we supply to derive implementations? @vityafx -- another way to enforce this, though UI will suffer, would be to generate code that requires fn require_copy_and_clone<T: Copy+Clone>(t: &T) { } |
This comment has been minimized.
This comment has been minimized.
vityafx
commented
Apr 4, 2017
•
|
@nikomatsakis yes, I know that too. There was a change which makes impossible to see what does the enum/struct derive but |
arielb1
added
the
T-compiler
label
Apr 4, 2017
This comment has been minimized.
This comment has been minimized.
|
This was intentionally caused by #39572. See #40574 (comment) and #40574 (comment) for rationale; #39572 (comment) is an alternative. |
jseyfried
self-assigned this
Apr 5, 2017
arielb1
added
the
T-lang
label
Apr 5, 2017
This comment has been minimized.
This comment has been minimized.
|
@jseyfried interesting; I'll have to catch up in more depth. It seems like it is common to want to "peek" at what other derives are present, so that you can generate somewhat better/different derives for your own trait. It's not perfect, though, since of course there could be manual impls... |
This comment has been minimized.
This comment has been minimized.
|
@vityafx ok I agree that the current thing in your particular case is to generate code that uses |
This comment has been minimized.
This comment has been minimized.
|
discussed at compiler meeting. Consensus is that if there is a bug here, it is in fact a feature request for the procedural macro system (the feature being having a way to peek at the other derives), and that would be the balliwick of the lang team to address. So, removing T-compiler label. (And also suggesting that the lang team close after reviewing it.) |
pnkfelix
removed
the
T-compiler
label
Apr 6, 2017
alexcrichton
added this to the 1.17 milestone
Apr 10, 2017
nikomatsakis
added
the
I-nominated
label
Apr 11, 2017
This comment has been minimized.
This comment has been minimized.
|
Nominated for @rust-lang/lang team discussion. |
This comment has been minimized.
This comment has been minimized.
|
The lang team is likely to skip their meeting today so this unfortunately won't get a chance for discussion before 1.17 is release, which means that this is likely to become a stable-to-stable regression. @nikomatsakis was thinking though that the most likely outcome is to uphold the compiler team's decision of staying the current course, though. @vityafx out of curiosity do you need any help updating your crate? I can try to help out if necessary! |
alexcrichton
added
regression-from-stable-to-stable
and removed
regression-from-stable-to-beta
labels
Apr 26, 2017
nikomatsakis
removed
the
I-nominated
label
Apr 27, 2017
This comment has been minimized.
This comment has been minimized.
|
@rust-lang/lang says this is a bugfix. |
brson commentedMar 31, 2017
https://github.com/vityafx/fxsm
cc @vityafx