Skip to content

Conversation

@JoshMcguigan
Copy link
Contributor

fixes #3043

This passes all tests, including a new one specifically dealing with a type with interior mutability. The main thing I'm unsure of is whether the span I used in the call to is_freeze is the most appropriate span to use, or if it matters.

@oli-obk
Copy link
Contributor

oli-obk commented May 2, 2019

@bors r+

thanks!

@bors
Copy link
Contributor

bors commented May 2, 2019

📌 Commit bb12d59 has been approved by oli-obk

@bors
Copy link
Contributor

bors commented May 2, 2019

⌛ Testing commit bb12d59 with merge 1cf5d7f...

bors added a commit that referenced this pull request May 2, 2019
useless_let_if_seq handle interior mutability

fixes #3043

This passes all tests, including a new one specifically dealing with a type with interior mutability. The main thing I'm unsure of is whether the span I used in the call to `is_freeze` is the most appropriate span to use, or if it matters.
@bors
Copy link
Contributor

bors commented May 2, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: oli-obk
Pushing 1cf5d7f to master...

@bors bors merged commit bb12d59 into rust-lang:master May 2, 2019
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.

Clippy suggests optimizing volatile operations away; Shoudln't do so?

3 participants