Merge branch 'main' into bridgetree-0.7.0 #623
Annotations
46 warnings
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L215
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:215:25
|
215 | Err(err) => panic!("mark removal failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
215 - Err(err) => panic!("mark removal failed: {:?}", err),
215 + Err(err) => panic!("mark removal failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L211
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:211:35
|
211 | .unwrap_or_else(|err| panic!("checkpoint retrieval failed: {:?}", err));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
211 - .unwrap_or_else(|err| panic!("checkpoint retrieval failed: {:?}", err));
211 + .unwrap_or_else(|err| panic!("checkpoint retrieval failed: {err:?}"));
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L203
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:203:25
|
203 | Err(err) => panic!("witness computation failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
203 - Err(err) => panic!("witness computation failed: {:?}", err),
203 + Err(err) => panic!("witness computation failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L191
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:191:25
|
191 | Err(err) => panic!("root computation failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
191 - Err(err) => panic!("root computation failed: {:?}", err),
191 + Err(err) => panic!("root computation failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L184
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:184:25
|
184 | Err(err) => panic!("marked positions query failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
184 - Err(err) => panic!("marked positions query failed: {:?}", err),
184 + Err(err) => panic!("marked positions query failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L177
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:177:25
|
177 | Err(err) => panic!("marked leaf query failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
177 - Err(err) => panic!("marked leaf query failed: {:?}", err),
177 + Err(err) => panic!("marked leaf query failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L170
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:170:25
|
170 | Err(err) => panic!("current position query failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
170 - Err(err) => panic!("current position query failed: {:?}", err),
170 + Err(err) => panic!("current position query failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L163
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:163:27
|
163 | Err(other) => panic!("append failed due to error: {:?}", other),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
163 - Err(other) => panic!("append failed due to error: {:?}", other),
163 + Err(other) => panic!("append failed due to error: {other:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/store/caching.rs#L1321
warning: variables can be used directly in the `format!` string
--> shardtree/src/store/caching.rs:1321:13
|
1321 | / assert!(
1322 | | matches!(result, Ok(())),
1323 | | "Reference/Test mismatch at index {}: {:?}",
1324 | | i,
1325 | | result
1326 | | );
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
shardtree/src/store/caching.rs#L1179
warning: variables can be used directly in the `format!` string
--> shardtree/src/store/caching.rs:1179:13
|
1179 | / assert!(
1180 | | matches!(result, Ok(())),
1181 | | "Reference/Test mismatch at index {}: {:?}",
1182 | | i,
1183 | | result
1184 | | );
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
shardtree/src/store/caching.rs#L1069
warning: variables can be used directly in the `format!` string
--> shardtree/src/store/caching.rs:1069:13
|
1069 | / assert!(
1070 | | matches!(result, Ok(())),
1071 | | "Reference/Test mismatch at index {}: {:?}",
1072 | | i,
1073 | | result
1074 | | );
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L151
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:151:17
|
151 | / write!(
152 | | f,
153 | | "Unable to compute root; missing values for nodes {:?}",
154 | | addrs
155 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L142
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:142:17
|
142 | write!(f, "Tree does not contain a root at address {:?}", addr)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
142 - write!(f, "Tree does not contain a root at address {:?}", addr)
142 + write!(f, "Tree does not contain a root at address {addr:?}")
|
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L109
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:109:17
|
109 | write!(f, "Input malformed for insertion at address {:?}", addr)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
109 - write!(f, "Input malformed for insertion at address {:?}", addr)
109 + write!(f, "Input malformed for insertion at address {addr:?}")
|
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L93
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:93:17
|
93 | / write!(
94 | | f,
95 | | "Attempted insertion point {:?} is not in range {:?}",
96 | | p, r
97 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L90
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:90:17
|
90 | write!(f, "Tree does not contain a root at address {:?}", addr)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
90 - write!(f, "Tree does not contain a root at address {:?}", addr)
90 + write!(f, "Tree does not contain a root at address {addr:?}")
|
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L39
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:39:17
|
39 | / write!(
40 | | f,
41 | | "An error occurred persisting or retrieving tree data: {}",
42 | | s
43 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
shardtree/src/prunable.rs#L107
warning: variables can be used directly in the `format!` string
--> shardtree/src/prunable.rs:107:17
|
107 | write!(f, "Merge input malformed at address {:?}", addr)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
107 - write!(f, "Merge input malformed at address {:?}", addr)
107 + write!(f, "Merge input malformed at address {addr:?}")
|
|
variables can be used directly in the `format!` string:
shardtree/src/prunable.rs#L101
warning: variables can be used directly in the `format!` string
--> shardtree/src/prunable.rs:101:43
|
101 | MergeError::Conflict(addr) => write!(
| ___________________________________________^
102 | | f,
103 | | "Inserted root conflicts with existing root at address {:?}",
104 | | addr
105 | | ),
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]`
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L215
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:215:25
|
215 | Err(err) => panic!("mark removal failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
215 - Err(err) => panic!("mark removal failed: {:?}", err),
215 + Err(err) => panic!("mark removal failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L211
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:211:35
|
211 | .unwrap_or_else(|err| panic!("checkpoint retrieval failed: {:?}", err));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
211 - .unwrap_or_else(|err| panic!("checkpoint retrieval failed: {:?}", err));
211 + .unwrap_or_else(|err| panic!("checkpoint retrieval failed: {err:?}"));
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L203
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:203:25
|
203 | Err(err) => panic!("witness computation failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
203 - Err(err) => panic!("witness computation failed: {:?}", err),
203 + Err(err) => panic!("witness computation failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L191
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:191:25
|
191 | Err(err) => panic!("root computation failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
191 - Err(err) => panic!("root computation failed: {:?}", err),
191 + Err(err) => panic!("root computation failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L184
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:184:25
|
184 | Err(err) => panic!("marked positions query failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
184 - Err(err) => panic!("marked positions query failed: {:?}", err),
184 + Err(err) => panic!("marked positions query failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L177
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:177:25
|
177 | Err(err) => panic!("marked leaf query failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
177 - Err(err) => panic!("marked leaf query failed: {:?}", err),
177 + Err(err) => panic!("marked leaf query failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L170
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:170:25
|
170 | Err(err) => panic!("current position query failed: {:?}", err),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
170 - Err(err) => panic!("current position query failed: {:?}", err),
170 + Err(err) => panic!("current position query failed: {err:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/testing.rs#L163
warning: variables can be used directly in the `format!` string
--> shardtree/src/testing.rs:163:27
|
163 | Err(other) => panic!("append failed due to error: {:?}", other),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
163 - Err(other) => panic!("append failed due to error: {:?}", other),
163 + Err(other) => panic!("append failed due to error: {other:?}"),
|
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L151
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:151:17
|
151 | / write!(
152 | | f,
153 | | "Unable to compute root; missing values for nodes {:?}",
154 | | addrs
155 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L142
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:142:17
|
142 | write!(f, "Tree does not contain a root at address {:?}", addr)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
142 - write!(f, "Tree does not contain a root at address {:?}", addr)
142 + write!(f, "Tree does not contain a root at address {addr:?}")
|
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L109
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:109:17
|
109 | write!(f, "Input malformed for insertion at address {:?}", addr)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
109 - write!(f, "Input malformed for insertion at address {:?}", addr)
109 + write!(f, "Input malformed for insertion at address {addr:?}")
|
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L99
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:99:47
|
99 | InsertionError::Conflict(addr) => write!(
| _______________________________________________^
100 | | f,
101 | | "Inserted root conflicts with existing root at address {:?}",
102 | | addr
103 | | ),
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L93
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:93:17
|
93 | / write!(
94 | | f,
95 | | "Attempted insertion point {:?} is not in range {:?}",
96 | | p, r
97 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L90
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:90:17
|
90 | write!(f, "Tree does not contain a root at address {:?}", addr)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
90 - write!(f, "Tree does not contain a root at address {:?}", addr)
90 + write!(f, "Tree does not contain a root at address {addr:?}")
|
|
variables can be used directly in the `format!` string:
shardtree/src/error.rs#L39
warning: variables can be used directly in the `format!` string
--> shardtree/src/error.rs:39:17
|
39 | / write!(
40 | | f,
41 | | "An error occurred persisting or retrieving tree data: {}",
42 | | s
43 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
shardtree/src/prunable.rs#L107
warning: variables can be used directly in the `format!` string
--> shardtree/src/prunable.rs:107:17
|
107 | write!(f, "Merge input malformed at address {:?}", addr)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
107 - write!(f, "Merge input malformed at address {:?}", addr)
107 + write!(f, "Merge input malformed at address {addr:?}")
|
|
variables can be used directly in the `format!` string:
shardtree/src/prunable.rs#L101
warning: variables can be used directly in the `format!` string
--> shardtree/src/prunable.rs:101:43
|
101 | MergeError::Conflict(addr) => write!(
| ___________________________________________^
102 | | f,
103 | | "Inserted root conflicts with existing root at address {:?}",
104 | | addr
105 | | ),
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]`
|
variables can be used directly in the `format!` string:
incrementalmerkletree-testing/src/lib.rs#L1302
warning: variables can be used directly in the `format!` string
--> incrementalmerkletree-testing/src/lib.rs:1302:9
|
1302 | / assert!(
1303 | | matches!(result, Ok(())),
1304 | | "Reference/Test mismatch at index {}: {:?}",
1305 | | i,
1306 | | result
1307 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
incrementalmerkletree-testing/src/lib.rs#L1170
warning: variables can be used directly in the `format!` string
--> incrementalmerkletree-testing/src/lib.rs:1170:9
|
1170 | / assert!(
1171 | | matches!(result, Ok(())),
1172 | | "Reference/Test mismatch at index {}: {:?}",
1173 | | i,
1174 | | result
1175 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
incrementalmerkletree-testing/src/lib.rs#L1090
warning: variables can be used directly in the `format!` string
--> incrementalmerkletree-testing/src/lib.rs:1090:9
|
1090 | / assert!(
1091 | | matches!(result, Ok(())),
1092 | | "Reference/Test mismatch at index {}: {:?}",
1093 | | i,
1094 | | result
1095 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
incrementalmerkletree-testing/src/lib.rs#L545
warning: variables can be used directly in the `format!` string
--> incrementalmerkletree-testing/src/lib.rs:545:9
|
545 | / assert!(
546 | | self.checkpoint(C::from_u64(value)),
547 | | "checkpoint failed for value {}",
548 | | value
549 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
incrementalmerkletree-testing/src/lib.rs#L537
warning: variables can be used directly in the `format!` string
--> incrementalmerkletree-testing/src/lib.rs:537:9
|
537 | / assert!(
538 | | self.append(H::from_u64(value), retention.map(|id| C::from_u64(*id))),
539 | | "append failed for value {}",
540 | | value
541 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]`
|
variables can be used directly in the `format!` string:
incrementalmerkletree-testing/src/lib.rs#L1302
warning: variables can be used directly in the `format!` string
--> incrementalmerkletree-testing/src/lib.rs:1302:9
|
1302 | / assert!(
1303 | | matches!(result, Ok(())),
1304 | | "Reference/Test mismatch at index {}: {:?}",
1305 | | i,
1306 | | result
1307 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
incrementalmerkletree-testing/src/lib.rs#L1170
warning: variables can be used directly in the `format!` string
--> incrementalmerkletree-testing/src/lib.rs:1170:9
|
1170 | / assert!(
1171 | | matches!(result, Ok(())),
1172 | | "Reference/Test mismatch at index {}: {:?}",
1173 | | i,
1174 | | result
1175 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
incrementalmerkletree-testing/src/lib.rs#L1090
warning: variables can be used directly in the `format!` string
--> incrementalmerkletree-testing/src/lib.rs:1090:9
|
1090 | / assert!(
1091 | | matches!(result, Ok(())),
1092 | | "Reference/Test mismatch at index {}: {:?}",
1093 | | i,
1094 | | result
1095 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
incrementalmerkletree-testing/src/lib.rs#L545
warning: variables can be used directly in the `format!` string
--> incrementalmerkletree-testing/src/lib.rs:545:9
|
545 | / assert!(
546 | | self.checkpoint(C::from_u64(value)),
547 | | "checkpoint failed for value {}",
548 | | value
549 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
|
variables can be used directly in the `format!` string:
incrementalmerkletree-testing/src/lib.rs#L537
warning: variables can be used directly in the `format!` string
--> incrementalmerkletree-testing/src/lib.rs:537:9
|
537 | / assert!(
538 | | self.append(H::from_u64(value), retention.map(|id| C::from_u64(*id))),
539 | | "append failed for value {}",
540 | | value
541 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]`
|