rust-analyzer/crates/ide_db
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
..
src Convert Into to From assist 2021-04-03 15:48:35 +01:00
Cargo.toml Enable thread-local coverage marks 2021-03-15 16:02:50 +02:00