about summary refs log tree commit diff
path: root/src/test/ui/const-generics/defaults
diff options
context:
space:
mode:
authorEsteban Kuber <esteban@kuber.com.ar>2022-03-27 02:14:54 +0000
committerEsteban Kuber <esteban@kuber.com.ar>2022-04-04 21:14:08 +0000
commite1ef833bca8fe21cb2cbc42795cda4b589ec6f25 (patch)
tree4c60eec8a68ed7ddac4a40710766bcdb5d89df7e /src/test/ui/const-generics/defaults
parenta6301cab5e3512bf28c69e60e28e8253911702c9 (diff)
Remove hack, fix fmt and tests
Diffstat (limited to 'src/test/ui/const-generics/defaults')
-rw-r--r--src/test/ui/const-generics/defaults/rp_impl_trait_fail.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/const-generics/defaults/rp_impl_trait_fail.stderr b/src/test/ui/const-generics/defaults/rp_impl_trait_fail.stderr
index 1fb6b38e4a6..48c61c22e7a 100644
--- a/src/test/ui/const-generics/defaults/rp_impl_trait_fail.stderr
+++ b/src/test/ui/const-generics/defaults/rp_impl_trait_fail.stderr
@@ -40,7 +40,7 @@ LL | |     1_u32
 LL | | }
    | |_^ the trait `Traitor<N, N>` is not implemented for `u32`
    |
-   = help: the following implementations were found:
+   = help: the following other types implement trait `Traitor<N, M>`:
              <u32 as Traitor<N, 2_u8>>
              <u64 as Traitor<1_u8, 2_u8>>
 
@@ -65,9 +65,9 @@ LL | |     1_u64
 LL | | }
    | |_^ the trait `Traitor<1_u8, 1_u8>` is not implemented for `u64`
    |
-   = help: the following implementations were found:
-             <u64 as Traitor<1_u8, 2_u8>>
+   = help: the following other types implement trait `Traitor<N, M>`:
              <u32 as Traitor<N, 2_u8>>
+             <u64 as Traitor<1_u8, 2_u8>>
 
 error: aborting due to 6 previous errors