rust/compiler
Maybe Waffle 400d343796 Suggest adding Copy bound when Adt is moved out
Previously we've only suggested adding `Copy` bounds when the type being
moved/copied is a type parameter (generic). With this commit we also
suggest adding bounds when a type
- Can be copy
- All predicates that need to be satisfied for that are based on type
  params

i.e. we will suggest `T: Copy` for `Option<T>`, but won't suggest
anything for `Option<String>`.

Future work: it would be nice to also suggest adding `.clone()` calls
2022-03-01 16:56:00 +03:00
..
2022-02-26 13:45:43 -03:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-24 18:50:33 -08:00
2022-02-24 18:50:33 -08:00
2022-02-25 08:00:52 -05:00
2022-02-24 16:02:07 -05:00
2022-02-24 17:01:01 +11:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-22 18:14:51 -05:00