Check number of refinement arguments for type aliases in conv #1086
gh-pages.yml
on: pull_request
Build and Deploy Website
51s
Annotations
4 warnings
Build and Deploy Website
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unneeded `return` statement with `?` operator:
crates/flux-refineck/src/compare_impl_item.rs#L106
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
|
consider adding a `;` to the last statement for consistent formatting:
crates/flux-fhir-analysis/src/conv/mod.rs#L1772
warning: consider adding a `;` to the last statement for consistent formatting
--> crates/flux-fhir-analysis/src/conv/mod.rs:1772:13
|
1772 | 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`
|
this lifetime isn't used in the function definition:
crates/flux-infer/src/projections.rs#L28
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
|