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: src\librustc_mir\dataflow\generic\engine.rs:315: Switch on discriminant of non-ADT #5240

Closed
UkonnRa opened this issue Feb 28, 2020 · 1 comment

Comments

@UkonnRa
Copy link

UkonnRa commented Feb 28, 2020

rustc version

rustc 1.43.0-nightly (6d69cab 2020-02-27)

Problem

When running: PS D:\Workspaces\RustWorkspace\wonderland-rust> cargo clippy --all

Got the error below:

    Checking infra v0.1.0 (D:\Workspaces\RustWorkspace\wonderland-rust\infra)
error: internal compiler error: src\librustc_mir\dataflow\generic\engine.rs:315: Switch on discriminant of non-ADT

thread 'rustc' panicked at 'Box<Any>', src\librustc_errors\lib.rs:881:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

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.0.212 (fc5d0cc5 2020-02-24)

error: aborting due to previous error
@UkonnRa
Copy link
Author

UkonnRa commented Feb 28, 2020

Close for the same as: #5238

@UkonnRa UkonnRa closed this as completed Feb 28, 2020
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

1 participant