Skip to content

Fix clippy warnings #343

Fix clippy warnings

Fix clippy warnings #343

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

clippy.yml

on: pull_request
Matrix: all
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 16 warnings
all (nightly): 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 (nightly): 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 (nightly): 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 (nightly): 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 (nightly): 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 (nightly)
Process completed with exit code 101.
all (stable)
The job was canceled because "nightly" failed.
all (stable): 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 (stable): 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 (stable): 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 (stable): 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 (stable): 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 (stable)
The operation was canceled.
all (nightly): src/native/menu/flex.rs#L91
it is more concise to loop over references to containers instead of using explicit iteration methods
all (nightly): src/core/date.rs#L59
docs for function which may panic missing `# Panics` section
all (nightly): src/core/date.rs#L74
docs for function which may panic missing `# Panics` section
all (nightly): src/core/date.rs#L89
docs for function which may panic missing `# Panics` section
all (nightly): src/core/date.rs#L99
docs for function which may panic missing `# Panics` section
all (nightly): src/core/date.rs#L153
docs for function which may panic missing `# Panics` section
all (nightly): src/core/clock.rs#L67
docs for function which may panic missing `# Panics` section
all (nightly): src/core/clock.rs#L87
docs for function which may panic missing `# Panics` section
all (nightly): examples/cupertino/cupertino_alert/src/main.rs#L33
`cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
all (nightly): examples/cupertino/cupertino_alert/src/main.rs#L44
`cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
all (stable): examples/cupertino/cupertino_alert/src/main.rs#L33
`cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
all (stable): examples/cupertino/cupertino_alert/src/main.rs#L44
`cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
all (stable): examples/cupertino/cupertino_alert/src/main.rs#L35
statics have by default a `'static` lifetime
all (stable): examples/cupertino/cupertino_alert/src/main.rs#L36
statics have by default a `'static` lifetime
all (stable): examples/cupertino/cupertino_alert/src/main.rs#L37
statics have by default a `'static` lifetime
all (stable): examples/cupertino/cupertino_alert/src/main.rs#L38
statics have by default a `'static` lifetime