bors[bot] 060c8b2c96
Merge #6287
6287: Don't replace entire module and file nodes when inserting imports r=matklad a=Veykril

This change minifies the resulting diff of import insertions by inserting or replacing the produced use tree directly through an `action` return value instead replacing the entire container node. This action has to be applied by the caller now. This unfortunately pulls the `AssistBuilder` into scope of `insert_use` back again but I tried to at least keep it away from the `insert_use` fn itself.

I'm open to more/better ideas regarding this :)

Fixes #6196

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-11-03 17:34:59 +00:00
..
2020-11-02 10:57:31 -07:00
2020-10-23 12:14:58 +02:00
2020-10-20 17:36:02 -04:00
2020-11-02 16:58:33 +01:00
2020-11-03 16:36:34 +00:00
2020-11-02 16:58:33 +01:00
2020-10-24 19:08:12 +00:00
2020-11-02 16:58:33 +01:00
2020-11-02 14:07:08 +01:00
2020-11-02 14:07:08 +01:00
2020-11-02 14:07:08 +01:00
2020-11-02 16:58:33 +01:00
2020-10-23 15:18:33 +02:00
2020-11-02 10:57:31 -07:00
2020-11-02 16:58:33 +01:00