Add Safe Abstractions for FuriStreamBuffer
#288
lints.yml
on: pull_request
crates
/
Clippy (MSRV)
29s
crates
/
Clippy (beta)
16s
crates
/
Intra-doc links
32s
crates
/
Rustfmt
17s
tools
/
Clippy (MSRV)
25s
tools
/
Clippy (beta)
30s
tools
/
Intra-doc links
55s
tools
/
Rustfmt
5s
Annotations
4 errors and 13 warnings
can't find crate for `core`:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ufmt-write-0.1.0/src/lib.rs#L1
error[E0463]: can't find crate for `core`
|
= note: the `thumbv7em-none-eabihf` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabihf`
|
crates / Clippy (beta)
Received a internal compiler error OR an unknown message type, view this in debug mode to view the payload
|
crates / Clippy (beta)
{
"rendered": "For more information about this error, try `rustc --explain E0463`.\n",
"$message_type": "diagnostic",
"children": [],
"code": null,
"level": "failure-note",
"message": "For more information about this error, try `rustc --explain E0463`.",
"spans": []
}
|
this returns a `Result<_, ()>`:
crates/flipperzero/src/lib.rs#L92
error: this returns a `Result<_, ()>`
--> flipperzero/src/furi/stream_buffer.rs:92:5
|
92 | pub fn set_trigger_level(&self, trigger_level: usize) -> Result<(), ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
= note: `-D clippy::result-unit-err` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::result_unit_err)]`
|
crates / Clippy (beta)
The `warn` input is deprecated in v1.4 and can be used within the `check-args` input
|
crates / Clippy (beta)
clippy-action doesn't have permissions to create Check Runs, disabling!
|
crates / Clippy (beta)
Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run
|
tools / Clippy (MSRV)
The `deny` input is deprecated in v1.4 and can be used within the `check-args` input
|
tools / Clippy (MSRV)
clippy-action doesn't have permissions to create Check Runs, disabling!
|
tools / Clippy (MSRV)
Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run
|
crates / Clippy (MSRV)
The `deny` input is deprecated in v1.4 and can be used within the `check-args` input
|
crates / Clippy (MSRV)
clippy-action doesn't have permissions to create Check Runs, disabling!
|
crates / Clippy (MSRV)
Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run
|
tools / Clippy (beta)
The `warn` input is deprecated in v1.4 and can be used within the `check-args` input
|
tools / Clippy (beta)
clippy-action doesn't have permissions to create Check Runs, disabling!
|
tools / Clippy (beta)
Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run
|
the following explicit lifetimes could be elided: 'data:
tools/src/bin/fap-lld/main.rs#L84
warning: the following explicit lifetimes could be elided: 'data
--> src/bin/fap-lld/fastrel.rs:84:6
|
84 | impl<'data> FastRel<'data> {
| ^^^^^ ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-W clippy::needless-lifetimes` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
84 - impl<'data> FastRel<'data> {
84 + impl FastRel<'_> {
|
|