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-12-03 08:56:33 +00:00
2024-12-01 18:28:04 +01:00
2024-12-04 19:52:53 +00:00
2024-12-03 17:27:10 +01:00
2024-12-04 18:23:42 +01:00
2024-12-02 23:08:58 +01:00
2024-11-10 10:16:26 +01:00
2024-11-12 13:38:58 +00:00
2024-12-04 05:42:08 +01:00
2024-12-04 20:34:48 +08:00
2024-12-06 16:42:09 -05:00
2024-12-06 16:42:09 -05:00
2024-12-06 16:42:09 -05:00
2024-12-06 16:42:09 -05:00
2024-12-06 16:42:09 -05:00
2024-12-02 22:51:18 +00:00
2024-12-04 18:23:42 +01:00
2024-12-03 21:55:27 +01:00
2024-11-12 13:38:58 +00:00
2024-11-30 17:53:40 -08:00
2024-12-02 10:28:58 +00:00
2024-12-06 16:42:09 -05:00
2024-12-02 17:36:03 +01:00
2024-12-06 10:50:20 +00:00
2024-12-02 17:36:03 +01:00
2024-12-06 04:55:35 +00:00
2024-11-09 17:55:39 +00:00
2024-11-29 17:23:34 +11:00
2024-11-22 10:54:22 +00:00
2024-12-02 22:51:18 +00:00
2024-12-06 16:42:09 -05:00
2024-12-01 05:22:16 +00:00
2024-12-05 07:29:53 +01:00
2024-12-02 23:08:53 +01:00
2024-11-26 15:26:03 +01:00
2024-12-06 16:42:09 -05:00
2024-12-07 21:29:58 +00:00
2024-12-07 09:38:00 +00:00
2024-12-02 16:19:17 +11:00
2024-12-04 21:23:36 +00:00
2024-12-06 16:42:09 -05:00
2024-12-05 23:52:21 +00:00
2024-12-04 19:52:53 +00:00
2024-12-03 04:39:48 +00:00
2024-11-23 13:52:54 +01:00
2024-11-11 21:29:18 +01:00
2024-11-27 22:23:24 +01:00
2024-12-04 16:15:44 +00:00
2024-12-03 17:27:06 +01:00
2024-11-18 10:38:56 +01:00
2024-12-06 16:42:09 -05:00
2024-11-27 22:23:24 +01:00
2024-12-06 16:42:09 -05:00
2024-12-06 16:42:09 -05:00
2024-12-06 09:27:38 +01:00
2024-12-05 23:52:21 +00:00
2024-11-23 05:27:45 +00:00
2024-12-01 18:28:04 +01:00
2024-12-06 16:42:09 -05:00
2024-12-05 23:52:21 +00:00
2024-11-08 18:51:28 +11:00