Skip to content

Commit

Permalink
Update UI tests
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Sep 21, 2024
1 parent 677d92c commit 22d8d3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ note: associated function defined here
27 | fn test(data: u64);
| ^^^^

warning: unused variable: `data`
error: unused variable: `data`
--> tests/ui/impl_incorrect_method_signature.rs:33:11
|
33 | fn test(data: String) {}
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
= note: `#[warn(unused_variables)]` on by default
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ help: consider removing the borrow
33 | fn test(data: &u64) {
|

warning: unused variable: `data`
error: unused variable: `data`
--> tests/ui/type_reference_in_impl_runtime_apis_call.rs:33:11
|
33 | fn test(data: &u64) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
= note: `#[warn(unused_variables)]` on by default
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`

0 comments on commit 22d8d3c

Please sign in to comment.