Skip to content

Source-level names in JSON trace #1236

Source-level names in JSON trace

Source-level names in JSON trace #1236

GitHub Actions / clippy succeeded Dec 6, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.84.0-nightly (b3f75cc87 2024-11-02)
  • cargo 1.84.0-nightly (031049782 2024-11-01)
  • clippy 0.1.84 (b3f75cc872 2024-11-02)

Annotations

Check warning on line 896 in crates/flux-refineck/src/type_env.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement

warning: unneeded `return` statement
   --> crates/flux-refineck/src/type_env.rs:896:5
    |
896 |     return Some(format!("{:?}", loc));
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
    = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
    |
896 -     return Some(format!("{:?}", loc));
896 +     Some(format!("{:?}", loc))
    |