diff options
| author | bors <bors@rust-lang.org> | 2024-04-19 09:15:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-19 09:15:20 +0000 |
| commit | 77ce2950065e83e25479a429280b0c0eea805b12 (patch) | |
| tree | 4619db3c1f0282093e84b3394d908533e032c76c /compiler/rustc_errors/src/json.rs | |
| parent | eea61bd4d134c110d799a3653413c6b65b5c26e3 (diff) | |
| parent | 1aba0002df5af8af7ac955a84535f76309707f14 (diff) | |
| download | rust-77ce2950065e83e25479a429280b0c0eea805b12.tar.gz rust-77ce2950065e83e25479a429280b0c0eea805b12.zip | |
Auto merge of #17094 - Lindronics:convert-from-to-tryfrom, r=Veykril
feat: Add convert From to TryFrom assist Adds a new code assist to convert a `From` impl into a `TryFrom` impl. This is useful in situations where it turns out after or halfway through writing a `From` implementation that the conversion is actually fallible. ## Example https://github.com/rust-lang/rust-analyzer/assets/26360861/872ec7c4-c9ff-451c-9453-4baaaad47326
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
0 files changed, 0 insertions, 0 deletions
