Skip to content

Remove unused variable #7453

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

Closed
wants to merge 1 commit into from
Closed

Remove unused variable #7453

wants to merge 1 commit into from

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