Add check to ensure generics for sorts are correct #771
gh-pages.yml
on: pull_request
Build and Deploy Website
51s
Annotations
12 warnings
Build and Deploy Website
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build and Deploy Website
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, peaceiris/[email protected], Swatinem/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
unneeded `return` statement with `?` operator:
crates/flux-fhir-analysis/src/conv/mod.rs#L2049
warning: unneeded `return` statement with `?` operator
--> crates/flux-fhir-analysis/src/conv/mod.rs:2049:17
|
2049 | return Err(genv.sess().emit_err(err))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
|
unneeded `return` statement with `?` operator:
crates/flux-fhir-analysis/src/conv/mod.rs#L2035
warning: unneeded `return` statement with `?` operator
--> crates/flux-fhir-analysis/src/conv/mod.rs:2035:17
|
2035 | return Err(genv.sess().emit_err(err))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
|
unneeded `return` statement with `?` operator:
crates/flux-fhir-analysis/src/conv/mod.rs#L2025
warning: unneeded `return` statement with `?` operator
--> crates/flux-fhir-analysis/src/conv/mod.rs:2025:17
|
2025 | return Err(emit_prim_sort_generics_error(genv, path, "Map", 2))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
|
unneeded `return` statement with `?` operator:
crates/flux-fhir-analysis/src/conv/mod.rs#L2018
warning: unneeded `return` statement with `?` operator
--> crates/flux-fhir-analysis/src/conv/mod.rs:2018:17
|
2018 | return Err(emit_prim_sort_generics_error(genv, path, "Set", 1))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
|
unneeded `return` statement with `?` operator:
crates/flux-fhir-analysis/src/conv/mod.rs#L2009
warning: unneeded `return` statement with `?` operator
--> crates/flux-fhir-analysis/src/conv/mod.rs:2009:17
|
2009 | return Err(genv.sess().emit_err(err))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
|
unneeded `return` statement with `?` operator:
crates/flux-fhir-analysis/src/conv/mod.rs#L1999
warning: unneeded `return` statement with `?` operator
--> crates/flux-fhir-analysis/src/conv/mod.rs:1999:17
|
1999 | return Err(genv.sess().emit_err(err))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
|
unneeded `return` statement with `?` operator:
crates/flux-fhir-analysis/src/conv/mod.rs#L1989
warning: unneeded `return` statement with `?` operator
--> crates/flux-fhir-analysis/src/conv/mod.rs:1989:17
|
1989 | return Err(genv.sess().emit_err(err))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
|
unneeded `return` statement with `?` operator:
crates/flux-fhir-analysis/src/conv/mod.rs#L1978
warning: unneeded `return` statement with `?` operator
--> crates/flux-fhir-analysis/src/conv/mod.rs:1978:17
|
1978 | return Err(emit_prim_sort_generics_error(genv, path, "real", 0))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
|
unneeded `return` statement with `?` operator:
crates/flux-fhir-analysis/src/conv/mod.rs#L1972
warning: unneeded `return` statement with `?` operator
--> crates/flux-fhir-analysis/src/conv/mod.rs:1972:17
|
1972 | return Err(emit_prim_sort_generics_error(genv, path, "bool", 0))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
|
unneeded `return` statement with `?` operator:
crates/flux-fhir-analysis/src/conv/mod.rs#L1966
warning: unneeded `return` statement with `?` operator
--> crates/flux-fhir-analysis/src/conv/mod.rs:1966:17
|
1966 | return Err(emit_prim_sort_generics_error(genv, path, "int", 0))?;
| ^^^^^^^ 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
|