#[no_override]
for default methods
#291
Labels
A-attributes
Proposals relating to attributes
A-privacy
Privacy related proposals & ideas
A-traits
Trait system related proposals & ideas
A-typesystem
Type system related proposals & ideas
T-lang
Relevant to the language team, which will review and decide on the RFC.
Monday Jul 08, 2013 at 14:16 GMT
For earlier discussion, see rust-lang/rust#7649
This issue was labelled with: A-attributes, B-RFC in the Rust repository
If there was a
#[no_override]
attribute that made it impossible to override a default method, there would be very little need for theFooUtil
traits (with this attribute default methods would have almost exactly the same properties as*Util
, except the seperate trait can be imported separately). i.e.This would provide a workaround for #5898 that is a proper solution in its own right.
The text was updated successfully, but these errors were encountered: