Skip to content

Commit 22efd95

Browse files
committed
Bless From<Cow> UI changes
1 parent 23f71fe commit 22efd95

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/ui/const-generics/array-impls/alloc-types-no-impls-length-33.stderr

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ LL | let boxed_array = <Box<[i32; 33]>>::try_from(boxed_slice);
1818
<std::boxed::Box<(dyn std::error::Error + 'static)> as std::convert::From<&str>>
1919
<std::boxed::Box<(dyn std::error::Error + 'static)> as std::convert::From<std::borrow::Cow<'a, str>>>
2020
<std::boxed::Box<(dyn std::error::Error + 'static)> as std::convert::From<std::string::String>>
21-
and 16 others
21+
and 21 others
2222
= note: required because of the requirements on the impl of `std::convert::Into<std::boxed::Box<[i32; 33]>>` for `std::boxed::Box<[i32]>`
2323
= note: required because of the requirements on the impl of `std::convert::TryFrom<std::boxed::Box<[i32]>>` for `std::boxed::Box<[i32; 33]>`
2424

@@ -38,11 +38,11 @@ LL | let boxed_array = <Rc<[i32; 33]>>::try_from(boxed_slice);
3838
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<std::rc::Rc<[i32]>>` is not implemented for `std::rc::Rc<[i32; 33]>`
3939
|
4040
= help: the following implementations were found:
41+
<std::rc::Rc<B> as std::convert::From<std::borrow::Cow<'a, B>>>
4142
<std::rc::Rc<T> as std::convert::From<T>>
4243
<std::rc::Rc<T> as std::convert::From<std::boxed::Box<T>>>
4344
<std::rc::Rc<[T]> as std::convert::From<&[T]>>
44-
<std::rc::Rc<[T]> as std::convert::From<std::vec::Vec<T>>>
45-
and 8 others
45+
and 9 others
4646
= note: required because of the requirements on the impl of `std::convert::Into<std::rc::Rc<[i32; 33]>>` for `std::rc::Rc<[i32]>`
4747
= note: required because of the requirements on the impl of `std::convert::TryFrom<std::rc::Rc<[i32]>>` for `std::rc::Rc<[i32; 33]>`
4848

@@ -62,11 +62,11 @@ LL | let boxed_array = <Arc<[i32; 33]>>::try_from(boxed_slice);
6262
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<std::sync::Arc<[i32]>>` is not implemented for `std::sync::Arc<[i32; 33]>`
6363
|
6464
= help: the following implementations were found:
65+
<std::sync::Arc<B> as std::convert::From<std::borrow::Cow<'a, B>>>
6566
<std::sync::Arc<T> as std::convert::From<T>>
6667
<std::sync::Arc<T> as std::convert::From<std::boxed::Box<T>>>
6768
<std::sync::Arc<[T]> as std::convert::From<&[T]>>
68-
<std::sync::Arc<[T]> as std::convert::From<std::vec::Vec<T>>>
69-
and 8 others
69+
and 9 others
7070
= note: required because of the requirements on the impl of `std::convert::Into<std::sync::Arc<[i32; 33]>>` for `std::sync::Arc<[i32]>`
7171
= note: required because of the requirements on the impl of `std::convert::TryFrom<std::sync::Arc<[i32]>>` for `std::sync::Arc<[i32; 33]>`
7272

0 commit comments

Comments
 (0)