diff options
| author | Josh Stone <jistone@redhat.com> | 2020-04-22 14:40:27 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2020-04-22 14:40:27 -0700 |
| commit | 22efd959109b9a231edbc81a8bc818eaa5763e78 (patch) | |
| tree | 524164340b6e2c5fc88c480280b5843de16186cd | |
| parent | 23f71fe5b518c6136990f79733155b4fa1314d2b (diff) | |
| download | rust-22efd959109b9a231edbc81a8bc818eaa5763e78.tar.gz rust-22efd959109b9a231edbc81a8bc818eaa5763e78.zip | |
Bless From<Cow> UI changes
| -rw-r--r-- | src/test/ui/const-generics/array-impls/alloc-types-no-impls-length-33.stderr | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/ui/const-generics/array-impls/alloc-types-no-impls-length-33.stderr b/src/test/ui/const-generics/array-impls/alloc-types-no-impls-length-33.stderr index d795840551c..3a3f6e3d420 100644 --- a/src/test/ui/const-generics/array-impls/alloc-types-no-impls-length-33.stderr +++ b/src/test/ui/const-generics/array-impls/alloc-types-no-impls-length-33.stderr @@ -18,7 +18,7 @@ LL | let boxed_array = <Box<[i32; 33]>>::try_from(boxed_slice); <std::boxed::Box<(dyn std::error::Error + 'static)> as std::convert::From<&str>> <std::boxed::Box<(dyn std::error::Error + 'static)> as std::convert::From<std::borrow::Cow<'a, str>>> <std::boxed::Box<(dyn std::error::Error + 'static)> as std::convert::From<std::string::String>> - and 16 others + and 21 others = note: required because of the requirements on the impl of `std::convert::Into<std::boxed::Box<[i32; 33]>>` for `std::boxed::Box<[i32]>` = note: required because of the requirements on the impl of `std::convert::TryFrom<std::boxed::Box<[i32]>>` for `std::boxed::Box<[i32; 33]>` @@ -38,11 +38,11 @@ LL | let boxed_array = <Rc<[i32; 33]>>::try_from(boxed_slice); | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<std::rc::Rc<[i32]>>` is not implemented for `std::rc::Rc<[i32; 33]>` | = help: the following implementations were found: + <std::rc::Rc<B> as std::convert::From<std::borrow::Cow<'a, B>>> <std::rc::Rc<T> as std::convert::From<T>> <std::rc::Rc<T> as std::convert::From<std::boxed::Box<T>>> <std::rc::Rc<[T]> as std::convert::From<&[T]>> - <std::rc::Rc<[T]> as std::convert::From<std::vec::Vec<T>>> - and 8 others + and 9 others = note: required because of the requirements on the impl of `std::convert::Into<std::rc::Rc<[i32; 33]>>` for `std::rc::Rc<[i32]>` = note: required because of the requirements on the impl of `std::convert::TryFrom<std::rc::Rc<[i32]>>` for `std::rc::Rc<[i32; 33]>` @@ -62,11 +62,11 @@ LL | let boxed_array = <Arc<[i32; 33]>>::try_from(boxed_slice); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<std::sync::Arc<[i32]>>` is not implemented for `std::sync::Arc<[i32; 33]>` | = help: the following implementations were found: + <std::sync::Arc<B> as std::convert::From<std::borrow::Cow<'a, B>>> <std::sync::Arc<T> as std::convert::From<T>> <std::sync::Arc<T> as std::convert::From<std::boxed::Box<T>>> <std::sync::Arc<[T]> as std::convert::From<&[T]>> - <std::sync::Arc<[T]> as std::convert::From<std::vec::Vec<T>>> - and 8 others + and 9 others = note: required because of the requirements on the impl of `std::convert::Into<std::sync::Arc<[i32; 33]>>` for `std::sync::Arc<[i32]>` = note: required because of the requirements on the impl of `std::convert::TryFrom<std::sync::Arc<[i32]>>` for `std::sync::Arc<[i32; 33]>` |
