Skip to content

Prohibit assiginments to &mut pointers in borrowed locations #8667

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

nikomatsakis
Copy link
Contributor

Fix for #8625.

@ghost ghost assigned pnkfelix Aug 21, 2013
@nikomatsakis
Copy link
Contributor Author

r? @pnkfelix

@nikomatsakis
Copy link
Contributor Author

Closing this PR because I realized there is a better (and more comprehensive...) fix.

@nikomatsakis nikomatsakis deleted the issue-8625-assign-to-andmut-in-borrowed-loc branch March 30, 2016 16:16
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 21, 2022
Don't lint various match lints when expanded by a proc-macro

fixes rust-lang#4952

As always for proc-macro output this is a hack-job of a fix. It would be really nice if more proc-macro authors would set spans correctly.

changelog: Don't lint various lints on proc-macro output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants