You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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.
Reacted by JestDotty, bscuron, Yush G, Peter Dessev and lue
Activity
marijnh commentedon Aug 2, 2012
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?
brson commentedon Aug 2, 2012
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.
Fix issue rust-lang#3212: Allow empty structure
auto merge of #5137 : yjh0502/rust/empty_struct, r=nikomatsakis
bstrie commentedon Mar 7, 2013
I think this can be closed now.
brson commentedon Mar 7, 2013
Yay!
Merge pull request rust-lang#3089 from topecongiro/format-comment
Auto merge of rust-lang#3089 - rust-lang:rustup-2023-09-28, r=RalfJung
Support unnamed arguments in function pointers
Merge rust-lang#3127
Merge pull request rust-lang#3089 from workingjubilee/guide-issues-to…