Revert .cargo/config.toml #41
Annotations
1 error and 4 warnings
unresolved import `pam_sys`:
src/sr/pam/securemem.rs#L14
error[E0432]: unresolved import `pam_sys`
--> src/sr/pam/securemem.rs:14:5
|
14 | use pam_sys::PAM_MAX_RESP_SIZE;
| ^^^^^^^ help: a similar path exists: `pam_client2::pam_sys`
|
this expression creates a reference which is immediately dereferenced by the compiler:
rar-common/src/database/finder.rs#L706
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> rar-common/src/database/finder.rs:706:91
|
706 | let min = PluginManager::notify_user_matcher(&as_borrow!(self), user, &element);
| ^^^^^^^^ help: change this to: `element`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
rar-common/src/database/finder.rs#L491
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> rar-common/src/database/finder.rs:491:47
|
491 | SGroups::Single(group) => is_root(&group),
| ^^^^^^ help: change this to: `group`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
writing `&String` instead of `&str` involves a new object where a slice will do:
rar-common/src/database/finder.rs#L326
warning: writing `&String` instead of `&str` involves a new object where a slice will do
--> rar-common/src/database/finder.rs:326:27
|
326 | fn match_path(input_path: &String, role_path: &String) -> CmdMin {
| ^^^^^^^ help: change this to: `&str`
|
= 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
|
unused variable: `tool`:
rar-common/src/util.rs#L258
warning: unused variable: `tool`
--> rar-common/src/util.rs:258:17
|
258 | pub fn subsribe(tool: &str) -> Result<(), Box<dyn Error>> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_tool`
|
= note: `#[warn(unused_variables)]` on by default
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
github-pages
Expired
|
1.38 MB |
|