Skip to content

Commit c8e47f9

Browse files
Update needless_pass_by_value stderr
1 parent 79013f8 commit c8e47f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/needless_pass_by_value.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ LL | fn more_fun(items: impl Club<'static, i32>) {}
180180
| ^^^^^^^^^^^^^^^^^^^^^^^ help: consider taking a reference instead: `&impl Club<'static, i32>`
181181

182182
error: this argument is passed by value, but not consumed in the function body
183-
--> tests/ui/needless_pass_by_value.rs:187:24
183+
--> tests/ui/needless_pass_by_value.rs:194:24
184184
|
185185
LL | fn option_inner_ref(x: Option<String>) {
186186
| ^^^^^^^^^^^^^^ help: consider taking a reference instead: `Option<&String>`

0 commit comments

Comments
 (0)