-
Notifications
You must be signed in to change notification settings - Fork 13.3k
add #[non_owned] and #[mutable] attributes #6251
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
Conversation
What is the effect of being I am still not clear on the impact of non-owned. Is there consensus on how this is supposed to work? I am worried that there are a lot of 'cracks' in the type system and things are not fitting together as well as they should. |
@brson: I think the effect of not being |
I think I'd prefer |
@pcwalton: maybe |
CC #5601. |
Also fixed the docstring on `TC_ONCE_CLOSURE` (was accidentally the same as `TC_MUTABLE`) and shifted the `TC_EMPTY_ENUM` bit left by one since whatever previously used that bit has been removed.
Fixes rust-lang#6250 Fixes rust-lang#6251 Fixes rust-lang#6252 Fixes rust-lang#6255 Fixes rust-lang#6256
add a couple of ICE testcases Fixes rust-lang#6250 Fixes rust-lang#6251 Fixes rust-lang#6252 Fixes rust-lang#6255 Fixes rust-lang#6256 changelog: none
Also fixed the docstring on
TC_ONCE_CLOSURE
(was accidentally the same asTC_MUTABLE
) and shifted theTC_EMPTY_ENUM
bit left by one since whatever previously used that bit has been removed.