@@ -10,31 +10,31 @@ LL | Err("")?;
1010 = note: required because of the requirements on the impl of `FromResidual<Result<!, &str>>` for `Result<u32, TryFromSliceError>`
1111 = note: required by `from_residual`
1212
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`
1414 --> $DIR/try-block-bad-type.rs:12:9
1515 |
1616LL | ""
1717 | ^^ expected `i32`, found `&str`
1818
19- error[E0271]: type mismatch resolving `<Result<i32, i32> as Try >::Ok == ()`
19+ error[E0271]: type mismatch resolving `<Result<i32, i32> as Try2021 >::Ok == ()`
2020 --> $DIR/try-block-bad-type.rs:15:39
2121 |
2222LL | let res: Result<i32, i32> = try { };
2323 | ^ expected `i32`, found `()`
2424
25- error[E0277]: the trait bound `(): Try ` is not satisfied
25+ error[E0277]: the trait bound `(): Try2021 ` is not satisfied
2626 --> $DIR/try-block-bad-type.rs:17:25
2727 |
2828LL | let res: () = try { };
29- | ^ the trait `Try ` is not implemented for `()`
29+ | ^ the trait `Try2021 ` is not implemented for `()`
3030 |
3131 = note: required by `from_output`
3232
33- error[E0277]: the trait bound `i32: Try ` is not satisfied
33+ error[E0277]: the trait bound `i32: Try2021 ` is not satisfied
3434 --> $DIR/try-block-bad-type.rs:20:26
3535 |
3636LL | let res: i32 = try { 5 };
37- | ^ the trait `Try ` is not implemented for `i32`
37+ | ^ the trait `Try2021 ` is not implemented for `i32`
3838 |
3939 = note: required by `from_output`
4040
0 commit comments