Better rustc_on_unimplemented, and UI test fixes
This commit is contained in:
parent
47b99485a3
commit
4a7ceea930
38 changed files with 564 additions and 266 deletions
|
|
@ -7,7 +7,8 @@ LL | Err(5)?;
|
|||
| ^ the trait `From<{integer}>` is not implemented for `()`
|
||||
|
|
||||
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
|
||||
= note: required by `from`
|
||||
= note: required because of the requirements on the impl of `FromResidual<Result<Infallible, {integer}>>` for `Result<i32, ()>`
|
||||
= note: required by `from_residual`
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue