Skip to content

Commit c4208fa

Browse files
committed
bless
1 parent abf45ae commit c4208fa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/ui/traits/issue-77982.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ LL | let ips: Vec<_> = (0..100_000).map(|_| u32::from(0u32.into())).collect(
4444
| type must be known at this point
4545
|
4646
= note: multiple `impl`s satisfying `u32: From<_>` found in the `core` crate:
47+
- impl From<Char> for u32;
4748
- impl From<Ipv4Addr> for u32;
4849
- impl From<NonZeroU32> for u32;
4950
- impl From<bool> for u32;

tests/ui/try-trait/bad-interconversion.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ LL | Ok(Err(123_i32)?)
1212
= help: the following other types implement trait `From<T>`:
1313
<u8 as From<bool>>
1414
<u8 as From<NonZeroU8>>
15+
<u8 as From<Char>>
1516
= note: required for `Result<u64, u8>` to implement `FromResidual<Result<Infallible, i32>>`
1617

1718
error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result`

0 commit comments

Comments
 (0)