Skip to content

hang in <clippy_lints::needless_pass_by_ref_mut::MutablyUsedVariablesCtxt>::add_mutably_used_var #11176

Closed
@matthiaskrgr

Description

@matthiaskrgr

Summary

I don't have any code yet, I noticed this checking rustc_mir_dataflow with clippy that it seemed to hang.

Reproducer

I tried this code:

<code>

I expected to see this happen:

Instead, this happened:

Version

rustc 1.73.0-nightly (4eaad89dc 2023-07-17)
binary: rustc
commit-hash: 4eaad89dce57da09cebbf651e9ac3bd3292b4725
commit-date: 2023-07-17
host: x86_64-unknown-linux-gnu
release: 1.73.0-nightly
LLVM version: 16.0.5

Additional Labels

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingI-ICEIssue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️L-nurseryLint: Currently in the nursery group

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions