File tree 3 files changed +7
-11
lines changed
test_suite/tests/ui/remote 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,5 @@ error[E0308]: mismatched types
4
4
7 | #[derive(Deserialize)]
5
5
| ^^^^^^^^^^^
6
6
| |
7
- | expected u16, found u8
7
+ | expected ` u16` , found `u8`
8
8
| help: you can convert an `u8` to `u16`: `Deserialize.into()`
9
-
10
- For more information about this error, try `rustc --explain E0308`.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ error[E0308]: mismatched types
2
2
--> $DIR/wrong_getter.rs:15:10
3
3
|
4
4
15 | #[derive(Serialize)]
5
- | ^^^^^^^^^ expected u8 , found u16
5
+ | ^^^^^^^^^ expected `u8` , found ` u16`
6
6
|
7
- = note: expected type `&u8`
8
- found type `&u16`
7
+ = note: expected reference `&u8`
8
+ found reference `&u16`
Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ error[E0308]: mismatched types
2
2
--> $DIR/wrong_ser.rs:9:10
3
3
|
4
4
9 | #[derive(Serialize)]
5
- | ^^^^^^^^^ expected u8 , found u16
5
+ | ^^^^^^^^^ expected `u8` , found ` u16`
6
6
|
7
- = note: expected type `&u8`
8
- found type `&u16`
9
-
10
- For more information about this error, try `rustc --explain E0308`.
7
+ = note: expected reference `&u8`
8
+ found reference `&u16`
You can’t perform that action at this time.
0 commit comments