Skip to content

LateContext::typeck_results` called outside of body #7508

Closed
@KaiserKarel

Description

@KaiserKarel

thread 'rustc' panicked at 'LateContext::typeck_results called outside of body', src/tools/clippy/clippy_lints/src/use_self.rs:213:20
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: Clippy version: clippy 0.1.55 (2f391da 2021-07-14)

query stack during panic:
#0 [analysis] running analysis passes on this crate
end of query stack
error: could not compile ink_env

To learn more, run the command again with --verbose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions