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

LateContext::typeck_results` called outside of body #7508

Closed
KaiserKarel opened this issue Jul 29, 2021 · 2 comments
Closed

LateContext::typeck_results` called outside of body #7508

KaiserKarel opened this issue Jul 29, 2021 · 2 comments

Comments

@KaiserKarel
Copy link

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.

@Jarcho
Copy link
Contributor

Jarcho commented Jul 31, 2021

Can't repro on the latest nightly. Looks like it was fixed with #7428.

@giraffate
Copy link
Contributor

Thanks for the report!

I'm closing this because of #7508 (comment).

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

No branches or pull requests

3 participants