-
Notifications
You must be signed in to change notification settings - Fork 1.6k
panicked at 'index out of bounds: the len is 1 but the index is 1', src/tools/clippy/clippy_lints/src/repeat_once.rs:44:93 #6147
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
Comments
This was fixed by #5948 but it unfortunately did not end up in 1.47. |
Closing since it was already fixed, so nothing we can do here. A Clippy ICE is not enough to do a point release of rust stable. But if there should be one, we'll try to get the fix in. |
Well, it's annoying because it prevents me from updating CI configurations to 1.47 :) And especially annoying because beta and nightly never failed with this. |
Just to be sure, I realize that doing a point release is a lot of work and it probably doesn't matter for such a thing but I'm probably also not the only one running into this. Sucks, but that's life :) Is there a way to disable running that lint completely btw? |
Yeah, this bug slipped through, but sadly now it's too late. I think there is a point release planned, since also a regression fix in the compiler is planned. But there isn't an ETA yet.
No sadly not. Renaming the |
That's good to know, thanks :)
Unfortunately not as that would be an API change.
No worries, such things happen. Annoying for everybody involved but that's just how it is :) |
I prepared a stable backport in rust-lang/rust#77750. So if there is a point release, this should get backported 👍 |
Clippy is failing on CI with ``` panicked at 'index out of bounds: the len is 1 but the index is 1', src/tools/clippy/clippy_lints/src/repeat_once.rs:44:93 ``` This has been fixed in clippy itself, but was missed in the 1.47.0 release (rust-lang/rust-clippy#6147).
* Fix new clippy warnings * Temp downgrade clippy toolchain Clippy is failing on CI with ``` panicked at 'index out of bounds: the len is 1 but the index is 1', src/tools/clippy/clippy_lints/src/repeat_once.rs:44:93 ``` This has been fixed in clippy itself, but was missed in the 1.47.0 release (rust-lang/rust-clippy#6147).
* Fix new clippy warnings * Temp downgrade clippy toolchain Clippy is failing on CI with ``` panicked at 'index out of bounds: the len is 1 but the index is 1', src/tools/clippy/clippy_lints/src/repeat_once.rs:44:93 ``` This has been fixed in clippy itself, but was missed in the 1.47.0 release (rust-lang/rust-clippy#6147).
This worked fine with 1.46 but not anymore after the update to 1.47 (clippy 0.0.212 (18bf6b4 2020-10-07))
Happens when running
in
gstreamer-sdp
at https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/Full backtrace:
The text was updated successfully, but these errors were encountered: