Auto merge of #106132 - kadiwa4:typos, r=compiler-errors

Fix some typos
This commit is contained in:
bors 2022-12-25 01:44:28 +00:00
commit 40d7940bda
9 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
error[E0308]: mismatched types
--> $DIR/suggest-removing-tulpe-struct-field.rs:11:13
--> $DIR/suggest-removing-tuple-struct-field.rs:11:13
|
LL | some_fn(value.0);
| ------- ^^^^^^^ expected struct `MyWrapper`, found `u32`
@ -7,7 +7,7 @@ LL | some_fn(value.0);
| arguments to this function are incorrect
|
note: function defined here
--> $DIR/suggest-removing-tulpe-struct-field.rs:15:4
--> $DIR/suggest-removing-tuple-struct-field.rs:15:4
|
LL | fn some_fn(wrapped: MyWrapper) {
| ^^^^^^^ ------------------
@ -18,7 +18,7 @@ LL + some_fn(value);
|
error[E0308]: mismatched types
--> $DIR/suggest-removing-tulpe-struct-field.rs:12:13
--> $DIR/suggest-removing-tuple-struct-field.rs:12:13
|
LL | some_fn(my_wrapper!(123).0);
| ------- ^^^^^^^^^^^^^^^^^^ expected struct `MyWrapper`, found `u32`
@ -26,7 +26,7 @@ LL | some_fn(my_wrapper!(123).0);
| arguments to this function are incorrect
|
note: function defined here
--> $DIR/suggest-removing-tulpe-struct-field.rs:15:4
--> $DIR/suggest-removing-tuple-struct-field.rs:15:4
|
LL | fn some_fn(wrapped: MyWrapper) {
| ^^^^^^^ ------------------