diff options
| author | Michal Nazarewicz <mina86@mina86.com> | 2024-01-25 16:32:44 +0100 |
|---|---|---|
| committer | Michal Nazarewicz <mina86@mina86.com> | 2024-01-25 16:41:17 +0100 |
| commit | c4208fad3ce9d851fe5d54ba030b07a5aa3e0a89 (patch) | |
| tree | 42b9a876fc97ff63f24c3e335cc7e6d2ff1c6f3e /tests/ui/try-trait | |
| parent | abf45ae0b21d460a3bfd374e39034105b6cab08e (diff) | |
| download | rust-c4208fad3ce9d851fe5d54ba030b07a5aa3e0a89.tar.gz rust-c4208fad3ce9d851fe5d54ba030b07a5aa3e0a89.zip | |
bless
Diffstat (limited to 'tests/ui/try-trait')
| -rw-r--r-- | tests/ui/try-trait/bad-interconversion.stderr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/try-trait/bad-interconversion.stderr b/tests/ui/try-trait/bad-interconversion.stderr index 97fbbdbf8f8..4d046635d64 100644 --- a/tests/ui/try-trait/bad-interconversion.stderr +++ b/tests/ui/try-trait/bad-interconversion.stderr @@ -12,6 +12,7 @@ LL | Ok(Err(123_i32)?) = help: the following other types implement trait `From<T>`: <u8 as From<bool>> <u8 as From<NonZeroU8>> + <u8 as From<Char>> = note: required for `Result<u64, u8>` to implement `FromResidual<Result<Infallible, i32>>` error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` |
