Skip to content

Remove unused variable - #7453

Closed
Seldaek wants to merge 1 commit into
rust-lang:masterfrom
Seldaek:patch-1
Closed

Remove unused variable#7453
Seldaek wants to merge 1 commit into
rust-lang:masterfrom
Seldaek:patch-1

Conversation

@Seldaek

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

Landing with #7479.

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`]
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
7657: utf8 r=matklad a=matklad
- Prepare for utf-8 offsets
- reduce code duplication in tests
- Make utf8 default, implement utf16 in terms of it
- Make it easy to add additional context for offset conversion
- Implement utf8 offsets
closesrust-lang#7453
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Sign up for freeto 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

@Seldaek@thestinger@bstrie