Skip to content

Conversation

jonhoo
Copy link
Contributor

@jonhoo jonhoo commented Apr 9, 2020

No description provided.

@jonhoo jonhoo requested a review from carllerche April 9, 2020 16:54
@jonhoo jonhoo force-pushed the track-more-mut-locations branch 2 times, most recently from 2a073bf to c0cef54 Compare April 9, 2020 16:55
jonhoo added 2 commits April 12, 2020 13:39
Rust only allows macros to be used strictly after they have been
defined. It's weird, and not needed for this PR, but it will avoid later
developers running into the issues I did while developing this.
This doesn't _really_ add any information, since the mut location is the
same as the "crated" location. However, when presented with an error
with no `mut` location, the user may erroneously believe that there's
some mutation they haven't been told about, when the race is really
on the construction of the item.
@jonhoo jonhoo force-pushed the track-more-mut-locations branch from c0cef54 to 7d96e7d Compare April 12, 2020 17:41
@jonhoo jonhoo requested a review from carllerche April 12, 2020 17:41
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