-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce redef
keyword
#8268
Comments
@jaschdoc Next I would drop the requirement that declarations in instances must be public. Then you can refactor instances to use |
Okay but this goes against what you wrote above. New design? :) |
What do you mean? I suppose what I was trying to communicate is that first changing everything to use redef, and then changing everything to drop pub seems like double work. Might as well do it in one pass. |
Should I also remove the |
What do you mean? I am only asking for changes to instances at this time. |
Alright. In Rust the |
But do we allow private functions on a trait declaration? |
We have not decided. But it could make sense. |
|
I think we just need to get rid of the pub in |
I think we can close this now |
redef
keyword as a short hand foroverride def
.redef
.override
. (Or better put it behind--Xdeprecated
flag)Note: This should not concern visibility, so this changes nothing w.r.t.
pub
.The text was updated successfully, but these errors were encountered: