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-04 19:52:53 +00: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-06 16:42:09 -05:00
2024-12-06 10:50:20 +00:00
2024-12-06 04:55:35 +00:00
2024-12-06 16:42:09 -05:00
2024-12-05 07:29:53 +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-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-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 09:27:38 +01:00
2024-12-05 23:52:21 +00:00
2024-12-06 16:42:09 -05:00
2024-12-05 23:52:21 +00:00