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 upRemove structural records #3089
Comments
This comment has been minimized.
This comment has been minimized.
|
Really? Why? Has it been decided to move to nominal for everything? Or does 'structural records' just not mean what I think it means in the context of this issue? |
This comment has been minimized.
This comment has been minimized.
|
It has been decided. The primary reason is because they don't work well with the new impl coherence rules. In particular, I believe it's not possible to define anonymous impls (that don't fulfill explicit traits) for structural records because no module is responsible for defining the type. |
yjh0502
added a commit
to yjh0502/rust
that referenced
this issue
Feb 27, 2013
yjh0502
referenced this issue
Feb 27, 2013
Closed
Add empty structure/Remove structural records #5137
bors
added a commit
that referenced
this issue
Mar 2, 2013
bstrie
referenced this issue
Mar 7, 2013
Closed
Master checklist for deprecated language features to remove from the compiler #4707
This comment has been minimized.
This comment has been minimized.
|
I think this can be closed now. |
This comment has been minimized.
This comment has been minimized.
|
Yay! |
brson
closed this
Mar 7, 2013
SimonSapin
referenced this issue
May 11, 2017
Closed
Language feature: Named variables in function return declarations #1999
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brson commentedAug 2, 2012
No description provided.