Skip to content

Conv generic predicates of all items before sortck (#986) #1096

Conv generic predicates of all items before sortck (#986)

Conv generic predicates of all items before sortck (#986) #1096

GitHub Actions / clippy succeeded Feb 4, 2025 in 0s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
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 106 in crates/flux-refineck/src/compare_impl_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement with `?` operator

warning: unneeded `return` statement with `?` operator
   --> crates/flux-refineck/src/compare_impl_item.rs:106:9
    |
106 |         return Err(infcx
    |         ^^^^^^^ help: remove it
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
    = note: `#[warn(clippy::needless_return_with_question_mark)]` on by default

Check warning on line 1794 in crates/flux-fhir-analysis/src/conv/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

consider adding a `;` to the last statement for consistent formatting

warning: consider adding a `;` to the last statement for consistent formatting
    --> crates/flux-fhir-analysis/src/conv/mod.rs:1794:13
     |
1794 |             Err(self.emit(err))?
     |             ^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `Err(self.emit(err))?;`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
     = note: requested on the command line with `-W clippy::semicolon-if-nothing-returned`

Check warning on line 28 in crates/flux-infer/src/projections.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this lifetime isn't used in the function definition

warning: this lifetime isn't used in the function definition
  --> crates/flux-infer/src/projections.rs:28:30
   |
28 |     fn normalize_projections<'tcx>(&self, infcx: &mut InferCtxt) -> QueryResult<Self>;
   |                              ^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
   = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default