Updated egui. #35
Annotations
6 warnings
current MSRV (Minimum Supported Rust Version) is `1.60.0` but this item is stable since `1.70.0`:
src/lib.rs#L43
warning: current MSRV (Minimum Supported Rust Version) is `1.60.0` but this item is stable since `1.70.0`
--> src/lib.rs:43:10
|
43 | #[derive(RustEmbed)]
| ^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
= note: `#[warn(clippy::incompatible_msrv)]` implied by `#[warn(clippy::all)]`
= note: this warning originates in the derive macro `RustEmbed` (in Nightly builds, run with -Z macro-backtrace for more info)
|
assigning the result of `Clone::clone()` may be inefficient:
src/state.rs#L306
warning: assigning the result of `Clone::clone()` may be inefficient
--> src/state.rs:306:9
|
306 | self.process_name = process.name.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.process_name.clone_from(&process.name)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
note: the lint level is defined here
--> src/lib.rs:1:9
|
1 | #![warn(clippy::all, rust_2018_idioms)]
| ^^^^^^^^^^^
= note: `#[warn(clippy::assigning_clones)]` implied by `#[warn(clippy::all)]`
|
unused import: `about_dialog::*`:
src/lib.rs#L17
warning: unused import: `about_dialog::*`
--> src/lib.rs:17:9
|
17 | pub use about_dialog::*;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
hidden lifetime parameters in types are deprecated:
src/about_dialog.rs#L42
warning: hidden lifetime parameters in types are deprecated
--> src/about_dialog.rs:42:39
|
42 | ... let button: egui::Button = egui::Button::new(fl!(crate::LANGUAGE_LOADER, "about-dialog-ok")).min_size(Vec2::new(100.0, 24.0));
| ------^^^^^^
| |
| expected lifetime parameter
|
note: the lint level is defined here
--> src/lib.rs:1:22
|
1 | #![warn(clippy::all, rust_2018_idioms)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(elided_lifetimes_in_paths)]` implied by `#[warn(rust_2018_idioms)]`
help: indicate the anonymous lifetime
|
42 | let button: egui::Button<'_> = egui::Button::new(fl!(crate::LANGUAGE_LOADER, "about-dialog-ok")).min_size(Vec2::new(100.0, 24.0));
| ++++
|
run_checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run_checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|