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

Clippy error in test_result.rs #231

Open
armandas opened this issue Aug 25, 2024 · 1 comment
Open

Clippy error in test_result.rs #231

armandas opened this issue Aug 25, 2024 · 1 comment

Comments

@armandas
Copy link

When I run clippy on my project, I get the following error:

error[E0308]: mismatched types
   --> /home/armandas/.rustup/toolchains/esp/lib/rustlib/src/rust/library/test/src/test_result.rs:102:18
    |
101 |         None => match status.signal() {
    |                       --------------- this expression has type `Option<i32>`
102 |             Some(libc::SIGABRT) => TestResult::TrFailed,
    |                  ^^^^^^^^^^^^^ expected `i32`, found `usize`

Meta

rustc --version --verbose:

rustc 1.80.0-nightly (1b259e0b8 2024-07-22) (1.80.0.0)
binary: rustc
commit-hash: 1b259e0b8b2129dd3d62819a32f6d9b287e6b86c
commit-date: 2024-07-22
host: x86_64-unknown-linux-gnu
release: 1.80.0-nightly
LLVM version: 17.0.1

@esp-rs esp-rs deleted a comment Aug 25, 2024
@esp-rs esp-rs deleted a comment Aug 25, 2024
@cs-clarence
Copy link

i have this issue too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

3 participants
@armandas @cs-clarence and others