about summary refs log tree commit diff
path: root/tests/ui/deriving
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-21 12:55:28 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-27 14:02:15 +0000
commitae24fef028ca9b27c3209fca1229a99d45873774 (patch)
tree1cabd087b78232cb4b25caefcb0807a0a26bb1b3 /tests/ui/deriving
parent2707ac96067bf9d9e7ad1a7887be4ef90c939220 (diff)
downloadrust-ae24fef028ca9b27c3209fca1229a99d45873774.tar.gz
rust-ae24fef028ca9b27c3209fca1229a99d45873774.zip
Use `TraitRef::to_string` sorting in favor of `TraitRef::ord`, as the latter compares `DefId`s which we need to avoid
Diffstat (limited to 'tests/ui/deriving')
-rw-r--r--tests/ui/deriving/issue-103157.stderr10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ui/deriving/issue-103157.stderr b/tests/ui/deriving/issue-103157.stderr
index f76701860ef..612a7aff225 100644
--- a/tests/ui/deriving/issue-103157.stderr
+++ b/tests/ui/deriving/issue-103157.stderr
@@ -8,14 +8,14 @@ LL |     Float(Option<f64>),
    |           ^^^^^^^^^^^ the trait `Eq` is not implemented for `f64`, which is required by `Option<f64>: Eq`
    |
    = help: the following other types implement trait `Eq`:
-             isize
-             i8
+             i128
              i16
              i32
              i64
-             i128
-             usize
-             u8
+             i8
+             isize
+             u128
+             u16
            and 4 others
    = note: required for `Option<f64>` to implement `Eq`
 note: required by a bound in `AssertParamIsEq`