rust/crates/ide_db/src/helpers
Graeme Coupar ee03849017 Convert Into to From assist
This adds a "Convert Into to From" assist, useful since clippy has
recently started adding lints on every `Into`.

It covers converting the signature, and converting any `self`/`Self`
references within the body to the correct types.

It does assume that every instance of `Into` can be converted to a
`From`, which I _think_ is the case now.  Let me know if there's
something I'm not thinking of and I can try and make it smarter.
2021-04-03 15:48:35 +01:00
..
insert_use Use upstream cov-mark 2021-03-08 22:19:44 +02:00
famous_defs_fixture.rs Convert Into to From assist 2021-04-03 15:48:35 +01:00
import_assets.rs Rename target_ty to self_ty 2021-03-29 17:47:47 +02:00
insert_use.rs Cleanup ide_db imports 2021-03-27 21:51:00 +01:00