Skip to content

internal compiler error #8565

@cheesycod

Description

@cheesycod

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

Activity

added
C-bugCategory: Clippy is not doing the correct thing
on Mar 18, 2022
matthiaskrgr

matthiaskrgr commented on Mar 19, 2022

@matthiaskrgr
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @matthiaskrgr@cheesycod

        Issue actions

          internal compiler error · Issue #8565 · rust-lang/rust-clippy