rust/crates
bors 77ce295006 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
2024-04-19 09:15:20 +00:00
..
base-db Auto merge of #16639 - alibektas:13529/config_restruct, r=Veykril 2024-04-16 07:52:07 +00:00
cfg internal: Thread edition through to parsing/tt-to-syntax-tree routines for macros 2024-04-14 16:02:38 +02:00
flycheck Run cargo test per workspace in the test explorer 2024-04-13 06:22:58 +03:30
hir Render matched macro arm on hover of macro calls 2024-04-18 10:51:58 +02:00
hir-def Generally optimize diagnostics performance 2024-04-15 22:15:41 +02:00
hir-expand Cleanup 2024-04-18 11:00:22 +02:00
hir-ty chore: fix a few spans without .entered() 2024-04-17 12:44:49 -04:00
ide Render matched macro arm on hover of macro calls 2024-04-18 10:51:58 +02:00
ide-assists Add convert From to TryFrom assist 2024-04-19 08:29:20 +01:00
ide-completion Revert "Auto merge of #17073 - roife:better-inline-preview, r=Veykril" 2024-04-15 18:24:15 -04:00
ide-db Update per_query_memory_usage query listing 2024-04-17 18:44:50 +02:00
ide-diagnostics Auto merge of #17055 - wyatt-herkamp:fix_panic_at_unused_variable, r=Veykril 2024-04-17 10:11:03 +00:00
ide-ssr internal: Thread edition through to parsing/tt-to-syntax-tree routines for macros 2024-04-14 16:02:38 +02:00
intern Fix new clippy lints 2024-04-01 17:55:56 +02:00
limit Simplify 2024-04-06 13:12:07 +02:00
load-cargo Rename ProcMacroKind::FuncLike to Bang 2024-03-22 11:20:56 +01:00
mbe Cleanup 2024-04-18 11:00:22 +02:00
parser internal: simplify TokenSet implementation 2024-04-15 17:33:09 +03:00
paths fix: Don't assert paths being utf8 when filtering them in the watcher 2024-03-22 08:04:50 +01:00
proc-macro-api Consider ADT generic parameter defaults for unsubstituted layout calculations 2024-04-03 09:01:27 +02:00
proc-macro-srv Auto merge of #16257 - lnicola:rustc-check-cfg, r=Veykril 2024-04-18 12:13:06 +00:00
proc-macro-srv-cli Auto merge of #16257 - lnicola:rustc-check-cfg, r=Veykril 2024-04-18 12:13:06 +00:00
profile
project-model Remove rustc core test cfg hacks 2024-04-19 09:27:05 +02:00
rust-analyzer Auto merge of #16726 - Veykril:rustc-ws-hacks, r=Veykril 2024-04-19 07:28:50 +00:00
salsa Fix new clippy lints 2024-04-01 17:55:56 +02:00
sourcegen Fix new clippy lints 2024-04-01 17:55:56 +02:00
span Cleanup 2024-04-18 11:00:22 +02:00
stdx Remove dead test code 2024-03-14 16:24:51 +01:00
syntax internal: Thread edition through to parsing/tt-to-syntax-tree routines for macros 2024-04-14 16:02:38 +02:00
test-fixture Use Edition::CURRENT 2024-04-14 15:30:29 +02:00
test-utils Fix new clippy lints 2024-04-01 17:55:56 +02:00
text-edit
toolchain internal: Enforce utf8 paths 2024-03-19 15:39:00 +01:00
tt internal: Remove span trait 2024-03-21 20:08:30 +01:00
vfs [vfs] Don't confuse paths with source roots that have the same prefix 2024-04-08 15:48:04 -07:00
vfs-notify fix: VFS should not walk circular symlinks 2024-04-17 14:40:01 -07:00