about summary refs log tree commit diff
path: root/tests/ui/fmt/ifmt-unimpl.stderr
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/fmt/ifmt-unimpl.stderr
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/fmt/ifmt-unimpl.stderr')
-rw-r--r--tests/ui/fmt/ifmt-unimpl.stderr12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/fmt/ifmt-unimpl.stderr b/tests/ui/fmt/ifmt-unimpl.stderr
index 3c5428e59fb..a22bba07c02 100644
--- a/tests/ui/fmt/ifmt-unimpl.stderr
+++ b/tests/ui/fmt/ifmt-unimpl.stderr
@@ -7,14 +7,14 @@ LL |     format!("{:X}", "3");
    |              required by a bound introduced by this call
    |
    = help: the following other types implement trait `UpperHex`:
-             isize
-             i8
+             &T
+             &mut T
+             NonZero<T>
+             Saturating<T>
+             Wrapping<T>
+             i128
              i16
              i32
-             i64
-             i128
-             usize
-             u8
            and 9 others
    = note: required for `&str` to implement `UpperHex`
 note: required by a bound in `core::fmt::rt::Argument::<'a>::new_upper_hex`