Skip to content

Fix index out of bound in case of empty snippet #4486

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

Merged
merged 1 commit into from
Sep 3, 2019

Conversation

tesuji
Copy link
Contributor

@tesuji tesuji commented Sep 2, 2019

Fixes #4480

changelog: none

@flip1995
Copy link
Member

flip1995 commented Sep 3, 2019

Confirmed in #4480, that this fixed it. Thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Sep 3, 2019

📌 Commit 17d445b has been approved by flip1995

@bors
Copy link
Contributor

bors commented Sep 3, 2019

⌛ Testing commit 17d445b with merge aeadf15...

bors added a commit that referenced this pull request Sep 3, 2019
Fix index out of bound in case of empty snippet

cc #4480

changelog: none
@bors
Copy link
Contributor

bors commented Sep 3, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: flip1995
Pushing aeadf15 to master...

@bors bors merged commit 17d445b into rust-lang:master Sep 3, 2019
@tesuji tesuji deleted the fix-panic-unseparate-literals branch September 3, 2019 13:48
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.

panic [index out of bounds] at clippy_lints/src/misc_early.rs:413:38
3 participants