Skip to content
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

internal compiler error #8565

Closed
cheesycod opened this issue Mar 18, 2022 · 1 comment
Closed

internal compiler error #8565

cheesycod opened this issue Mar 18, 2022 · 1 comment
Labels
C-bug Category: Clippy is not doing the correct thing

Comments

@cheesycod
Copy link

Summary

https://pastebin.com/uJFaC3Fg

Reproducer

I tried this code:

cargo clippy -- -W clippy::pedantic

I expected to see this happen:

clippy successfully runs

Instead, this happened:

https://pastebin.com/uJFaC3Fg

Version

~/FatesList ❯❯❯ rustc -Vv
rustc 1.61.0-nightly (58f11791a 2022-03-17)
binary: rustc
commit-hash: 58f11791af4f97572e7afd83f11cffe04bbbd12f
commit-date: 2022-03-17
host: x86_64-unknown-linux-gnu
release: 1.61.0-nightly
LLVM version: 14.0.0
~/FatesList ❯❯❯

Additional Labels

@rustlabel +ice

@cheesycod cheesycod added the C-bug Category: Clippy is not doing the correct thing label Mar 18, 2022
@matthiaskrgr
Copy link
Member

This is a known rustc bug, should be fixed in the latest nightly: rust-lang/rust#94998
Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Clippy is not doing the correct thing
Projects
None yet
Development

No branches or pull requests

2 participants