Skip to content

Commit 36f8693

Browse files
committed
--bless tests
1 parent 04305c0 commit 36f8693

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

tests/ui/issues/issue-32709.stderr

+10-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@ LL | Err(5)?;
77
| ^ the trait `From<{integer}>` is not implemented for `()`
88
|
99
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
10-
= help: the following other types implement trait `FromResidual<R>`:
11-
<Result<T, F> as FromResidual<Result<Infallible, E>>>
12-
<Result<T, F> as FromResidual<Yeet<E>>>
10+
= help: the following other types implement trait `From<T>`:
11+
<(T, T) as From<[T; 2]>>
12+
<(T, T, T) as From<[T; 3]>>
13+
<(T, T, T, T) as From<[T; 4]>>
14+
<(T, T, T, T, T) as From<[T; 5]>>
15+
<(T, T, T, T, T, T) as From<[T; 6]>>
16+
<(T, T, T, T, T, T, T) as From<[T; 7]>>
17+
<(T, T, T, T, T, T, T, T) as From<[T; 8]>>
18+
<(T, T, T, T, T, T, T, T, T) as From<[T; 9]>>
19+
and 4 others
1320
= note: required for `Result<i32, ()>` to implement `FromResidual<Result<Infallible, {integer}>>`
1421

1522
error: aborting due to previous error

tests/ui/suggestions/issue-71394-no-from-impl.stderr

+8-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ LL | let _: &[i8] = data.into();
66
|
77
= help: the following other types implement trait `From<T>`:
88
<&'input [u8] as From<gimli::read::endian_slice::EndianSlice<'input, Endian>>>
9-
<[T; LANES] as From<Simd<T, LANES>>>
10-
<[bool; LANES] as From<Mask<T, LANES>>>
9+
<[T; 10] as From<(T, T, T, T, T, T, T, T, T, T)>>
10+
<[T; 11] as From<(T, T, T, T, T, T, T, T, T, T, T)>>
11+
<[T; 12] as From<(T, T, T, T, T, T, T, T, T, T, T, T)>>
12+
<[T; 1] as From<(T,)>>
13+
<[T; 2] as From<(T, T)>>
14+
<[T; 3] as From<(T, T, T)>>
15+
<[T; 4] as From<(T, T, T, T)>>
16+
and 7 others
1117
= note: required for `&[u8]` to implement `Into<&[i8]>`
1218

1319
error: aborting due to previous error

0 commit comments

Comments
 (0)