Skip to content
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

emit warning, if get, set and get_mut are enabled for a field #23

Open
Luro02 opened this issue Feb 26, 2020 · 0 comments
Open

emit warning, if get, set and get_mut are enabled for a field #23

Luro02 opened this issue Feb 26, 2020 · 0 comments

Comments

@Luro02
Copy link
Owner

Luro02 commented Feb 26, 2020

The warning should suggest to make the field public, which would have the benefit of being able to access the field, while another field is mutably borrowed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant