Esteban Küber
3f2a63a68b
Use trait name instead of full constraint in suggestion message
```
help: consider restricting type parameter `T` with traits `Copy` and `Trait`
|
LL | fn duplicate_custom<T: Copy + Trait>(t: S<T>) -> (S<T>, S<T>) {
| ++++++++++++++
```
```
help: consider restricting type parameter `V` with trait `Copy`
|
LL | fn index<'a, K, V: std::marker::Copy>(map: &'a HashMap<K, V>, k: K) -> &'a V {
| +++++++++++++++++++
```
2024-12-07 21:29:58 +00:00
..
2024-05-20 18:53:17 +08:00
2024-07-26 13:18:35 -04:00
2024-07-26 13:18:35 -04:00
2024-09-29 11:57:18 -04:00
2024-09-29 11:57:18 -04:00
2024-07-15 17:53:22 -04:00
2024-12-07 21:29:58 +00:00
2024-04-21 20:10:12 -04:00
2024-04-21 20:10:12 -04:00
2024-04-10 00:41:27 +00:00
2024-07-14 13:50:09 +09:00
2024-07-22 22:51:53 +00:00
2024-05-30 22:52:33 +02:00
2024-05-30 22:52:33 +02:00
2024-11-26 02:50:48 +08:00
2024-05-09 14:47:09 +10:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2024-08-26 13:02:21 -04:00
2024-08-26 13:02:21 -04:00
2024-06-13 10:41:53 +00:00
2024-09-12 14:48:01 -04:00
2024-09-12 14:48:01 -04:00
2024-05-13 23:38:31 -04:00
2024-05-13 23:38:31 -04:00
2024-09-16 10:55:07 -04:00
2024-09-16 10:55:07 -04:00
2024-04-21 20:10:12 -04:00
2024-04-10 18:51:09 +02:00
2024-09-10 23:05:36 +02:00
2024-05-23 19:42:10 -04:00
2024-05-23 19:42:10 -04:00