diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-02-16 21:42:37 +0100 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-02-17 15:21:36 +0100 |
| commit | 2e07892c7dd71f2025b68dcf8c144d53b3560511 (patch) | |
| tree | d8a214513730b39e71f5eeb0ecaf275301b1ae7c /src/test/ui/const-generics/array-impls | |
| parent | 75b98fbe77d472d85d1691bae5b25e7eefb3609c (diff) | |
| download | rust-2e07892c7dd71f2025b68dcf8c144d53b3560511.tar.gz rust-2e07892c7dd71f2025b68dcf8c144d53b3560511.zip | |
Do not emit note suggesting to implement trait to foreign type
Update tests Extend to other operations Refractor check in a separate function Fix more tests
Diffstat (limited to 'src/test/ui/const-generics/array-impls')
| -rw-r--r-- | src/test/ui/const-generics/array-impls/core-traits-no-impls-length-33.stderr | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/ui/const-generics/array-impls/core-traits-no-impls-length-33.stderr b/src/test/ui/const-generics/array-impls/core-traits-no-impls-length-33.stderr index 781a179624e..c03377d74e9 100644 --- a/src/test/ui/const-generics/array-impls/core-traits-no-impls-length-33.stderr +++ b/src/test/ui/const-generics/array-impls/core-traits-no-impls-length-33.stderr @@ -23,8 +23,6 @@ LL | [0_usize; 33] == [1_usize; 33] | ------------- ^^ ------------- [usize; 33] | | | [usize; 33] - | - = note: an implementation of `std::cmp::PartialEq` might be missing for `[usize; 33]` error[E0369]: binary operation `<` cannot be applied to type `[usize; 33]` --> $DIR/core-traits-no-impls-length-33.rs:19:19 @@ -33,8 +31,6 @@ LL | [0_usize; 33] < [1_usize; 33] | ------------- ^ ------------- [usize; 33] | | | [usize; 33] - | - = note: an implementation of `std::cmp::PartialOrd` might be missing for `[usize; 33]` error[E0277]: the trait bound `&[usize; 33]: std::iter::IntoIterator` is not satisfied --> $DIR/core-traits-no-impls-length-33.rs:24:14 |
