Skip to content

Remove nightly version for clippy and format checks #344

Remove nightly version for clippy and format checks

Remove nightly version for clippy and format checks #344

Triggered via pull request July 12, 2023 09:51
Status Failure
Total duration 3m 21s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
all: examples/cupertino/cupertino_alert/src/main.rs#L85
the trait bound `iced_native::widget::text::Text<'_, _>: std::convert::From<iced_native::widget::text::Text<'_, _>>` is not satisfied
all: examples/cupertino/cupertino_alert/src/main.rs#L94
the trait bound `iced_native::widget::text::Text<'_, _>: std::convert::From<iced_native::widget::text::Text<'_, _>>` is not satisfied
all: examples/cupertino/cupertino_alert/src/main.rs#L121
the trait bound `iced_native::widget::text::Text<'_, _>: std::convert::From<iced_native::widget::text::Text<'_, _>>` is not satisfied
all: examples/cupertino/cupertino_alert/src/main.rs#L120
the trait bound `iced_native::element::Element<'_, _, _>: std::convert::From<iced_aw::native::cupertino::cupertino_button::CupertinoButton<'_, Message, _>>` is not satisfied
all: examples/cupertino/cupertino_alert/src/main.rs#L129
the trait bound `iced_native::element::Element<'_, _, _>: std::convert::From<iced_aw::native::cupertino::cupertino_alert::CupertinoAlert<'_, Message, _>>` is not satisfied
all
Process completed with exit code 101.
all: src/native/cupertino/cupertino_alert.rs#L586
redundant else block
all: src/native/cupertino/cupertino_alert.rs#L161
`to_string()` called on a `&str`
all: src/native/cupertino/cupertino_alert.rs#L162
`to_string()` called on a `&str`
all: src/native/cupertino/cupertino_alert.rs#L247
unneeded `return` statement
all: src/native/cupertino/cupertino_alert.rs#L260
unnecessary boolean `not` operation
all: src/native/cupertino/cupertino_alert.rs#L268
unnecessary boolean `not` operation
all: src/native/cupertino/cupertino_alert.rs#L276
unneeded `return` statement
all: src/native/cupertino/cupertino_alert.rs#L278
unnecessary boolean `not` operation
all: src/native/cupertino/cupertino_alert.rs#L283
unnecessary boolean `not` operation
all: src/native/cupertino/cupertino_alert.rs#L335
`todo` should not be present in production code