Preserve order of overlays when removing one. #181
GitHub Actions / clippy
succeeded
Mar 30, 2024 in 0s
clippy
4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.0 (aedd173a2 2024-03-17)
- cargo 1.77.0 (3fe68eabf 2024-02-29)
- clippy 0.1.77 (aedd173 2024-03-17)
Annotations
Check warning on line 110 in src/features/image.rs
github-actions / clippy
deref on an immutable reference
warning: deref on an immutable reference
--> src/features/image.rs:110:2
|
110 | &*buffer
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref
= note: `#[warn(clippy::borrow_deref_ref)]` on by default
help: if you would like to reborrow, try removing `&*`
|
110 | buffer
|
help: if you would like to deref, try using `&**`
|
110 | &**buffer
|
Check warning on line 124 in src/lib.rs
github-actions / clippy
private item shadows public glob re-export
warning: private item shadows public glob re-export
--> src/lib.rs:124:1
|
124 | mod image;
| ^^^^^^^^^^
|
note: the name `image` in the type namespace is supposed to be publicly re-exported here
--> src/lib.rs:130:9
|
130 | pub use self::features::*;
| ^^^^^^^^^^^^^^^^^
note: but the private item here shadows it
--> src/lib.rs:124:1
|
124 | mod image;
| ^^^^^^^^^^
= note: `#[warn(hidden_glob_reexports)]` on by default
Check warning on line 11 in src/backend/util/mod.rs
github-actions / clippy
unused import: `map_buffer::map_buffer_mut`
warning: unused import: `map_buffer::map_buffer_mut`
--> src/backend/util/mod.rs:11:9
|
11 | pub use map_buffer::map_buffer_mut;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Check warning on line 7 in src/backend/util/mod.rs
github-actions / clippy
unused import: `buffer::create_buffer_with_value`
warning: unused import: `buffer::create_buffer_with_value`
--> src/backend/util/mod.rs:7:9
|
7 | pub use buffer::create_buffer_with_value;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Loading