@@ -10,31 +10,31 @@ LL | Err("")?;
10
10
= note: required because of the requirements on the impl of `FromResidual<Result<!, &str>>` for `Result<u32, TryFromSliceError>`
11
11
= note: required by `from_residual`
12
12
13
- error[E0271]: type mismatch resolving `<Result<i32, i32> as Try >::Ok == &str`
13
+ error[E0271]: type mismatch resolving `<Result<i32, i32> as Try2021 >::Ok == &str`
14
14
--> $DIR/try-block-bad-type.rs:12:9
15
15
|
16
16
LL | ""
17
17
| ^^ expected `i32`, found `&str`
18
18
19
- error[E0271]: type mismatch resolving `<Result<i32, i32> as Try >::Ok == ()`
19
+ error[E0271]: type mismatch resolving `<Result<i32, i32> as Try2021 >::Ok == ()`
20
20
--> $DIR/try-block-bad-type.rs:15:39
21
21
|
22
22
LL | let res: Result<i32, i32> = try { };
23
23
| ^ expected `i32`, found `()`
24
24
25
- error[E0277]: the trait bound `(): Try ` is not satisfied
25
+ error[E0277]: the trait bound `(): Try2021 ` is not satisfied
26
26
--> $DIR/try-block-bad-type.rs:17:25
27
27
|
28
28
LL | let res: () = try { };
29
- | ^ the trait `Try ` is not implemented for `()`
29
+ | ^ the trait `Try2021 ` is not implemented for `()`
30
30
|
31
31
= note: required by `from_output`
32
32
33
- error[E0277]: the trait bound `i32: Try ` is not satisfied
33
+ error[E0277]: the trait bound `i32: Try2021 ` is not satisfied
34
34
--> $DIR/try-block-bad-type.rs:20:26
35
35
|
36
36
LL | let res: i32 = try { 5 };
37
- | ^ the trait `Try ` is not implemented for `i32`
37
+ | ^ the trait `Try2021 ` is not implemented for `i32`
38
38
|
39
39
= note: required by `from_output`
40
40
0 commit comments