Merge pull request #42 from siketyan/dependabot/cargo/h2-0.3.26 #108
GitHub Actions / clippy
succeeded
Apr 6, 2024 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.1 (7cf61ebde 2024-03-27)
- cargo 1.77.1 (e52e36006 2024-03-26)
- clippy 0.1.77 (7cf61ebd 2024-03-27)
Annotations
Check warning on line 89 in app/src/plugin.rs
github-actions / clippy
`extern` fn uses type `dyn autoclip_core::PluginRegistrar`, which is not FFI-safe
warning: `extern` fn uses type `dyn autoclip_core::PluginRegistrar`, which is not FFI-safe
--> app/src/plugin.rs:89:19
|
89 | function: unsafe extern "C" fn(&mut dyn autoclip_core::PluginRegistrar) -> (),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
|
= note: trait objects have no C equivalent
= note: `#[warn(improper_ctypes_definitions)]` on by default
Check warning on line 57 in app/src/main.rs
github-actions / clippy
writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
--> app/src/main.rs:57:19
|
57 | plugins_path: &PathBuf,
| ^^^^^^^^ help: change this to: `&Path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
Check warning on line 26 in core/src/lib.rs
github-actions / clippy
`extern` fn uses type `dyn PluginRegistrar`, which is not FFI-safe
warning: `extern` fn uses type `dyn PluginRegistrar`, which is not FFI-safe
--> core/src/lib.rs:26:19
|
26 | pub register: unsafe extern "C" fn(&mut dyn PluginRegistrar),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
|
= note: trait objects have no C equivalent
= note: `#[warn(improper_ctypes_definitions)]` on by default
Loading