WARP format 1.0 #74
Annotations
5 errors and 1 warning
|
|
|
warp_cli/src/operation/find.rs#L43
error: variables can be used directly in the `format!` string
--> warp_cli/src/operation/find.rs:43:19
|
43 | let str = format!("{:?}", computed_ty);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
43 - let str = format!("{:?}", computed_ty);
43 + let str = format!("{computed_ty:?}");
|
|
|
warp_cli/src/operation/find.rs#L32
error: variables can be used directly in the `format!` string
--> warp_cli/src/operation/find.rs:32:19
|
32 | let str = format!("{:?}", func);
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
32 - let str = format!("{:?}", func);
32 + let str = format!("{func:?}");
|
|
|
warp_cli/src/operation/find.rs#L28
error: variables can be used directly in the `format!` string
--> warp_cli/src/operation/find.rs:28:9
|
28 | println!("Type: {:?}", ty);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
28 - println!("Type: {:?}", ty);
28 + println!("Type: {ty:?}");
|
|
|
warp_cli/src/operation/find.rs#L24
error: variables can be used directly in the `format!` string
--> warp_cli/src/operation/find.rs:24:9
|
24 | println!("Function: {:?}", function);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-D clippy::uninlined-format-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
|
24 - println!("Function: {:?}", function);
24 + println!("Function: {function:?}");
|
|
|
|
The logs for this run have expired and are no longer available.
Loading