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

cargo clippy gives me error as below #6268

Closed
d1mmu-dev opened this issue Oct 30, 2020 · 1 comment
Closed

cargo clippy gives me error as below #6268

d1mmu-dev opened this issue Oct 30, 2020 · 1 comment

Comments

@d1mmu-dev
Copy link

error: internal compiler error: compiler/rustc_mir_build/src/thir/pattern/_match.rs:934:18: trying to compare incompatible constructors Single and Str(Const { ty: &str, val: Value(Slice { data: Allocation { bytes: [105, 115, 115, 117, 101], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [31], len: Size { raw: 5 } }, size: Size { raw: 5 }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 5 }) })

thread 'rustc' panicked at 'Box', compiler/rustc_errors/src/lib.rs:945: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 (6bdae9e 2020-10-29)

query stack during panic:
#0 [check_match] match-checking <rr::rdata::caa::Property as std::convert::From<std::string::String>>::from
#1 [analysis] running analysis passes on this crate
end of query stack
Checking actix-threadpool v0.3.3
Checking scheduled-thread-pool v0.2.5
error: aborting due to previous error

error: could not compile trust-dns-proto

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

@d1mmu-dev d1mmu-dev changed the title error: internal compiler error: compiler/rustc_mir_build/src/thir/pattern/_match.rs:934:18: trying to compare incompatible constructors Single and Str(Const { ty: &str, val: Value(Slice { data: Allocation { bytes: [105, 115, 115, 117, 101], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [31], len: Size { raw: 5 } }, size: Size { raw: 5 }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 5 }) }) thread 'rustc' panicked at 'Box<Any>', compiler/rustc_errors/src/lib.rs:945: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 (6bdae9e 2020-10-29) query stack during panic: #0 [check_match] match-checking <rr::rdata::caa::Property as std::convert::From<std::string::String>>::from #1 [analysis cargo clippy gives me error as below Oct 30, 2020
@matthiaskrgr
Copy link
Member

This is a rustc bug which is already tracked here: rust-lang/rust#78549
Closing.

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

2 participants