Skip to content

Conversation

@Seldaek
Copy link
Contributor

@Seldaek Seldaek commented Jun 28, 2013

The compiler reported that as a warning while building, and from looking at it quickly it seems to be indeed unused and overwritten two lines below. I hope I'm not missing something obvious though.

@thestinger
Copy link
Contributor

Landing with #7479.

@thestinger thestinger closed this Jun 29, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Sep 3, 2021
…_effect, r=flip1995

Don't report function calls as unnecessary operation if used in array index

Attempts to fix: rust-lang#7412

changelog: Don't report function calls used in indexing as unnecessary operation. [`unnecessary_operation`]
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.

3 participants