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