rust/crates
Morgan Thomas 3fafbca32e fix: "Extract to function" assist preserves break and continue labels
Adds a label / lifetime parameter to `ide_assists::handlers::extract_function::FlowKind::{Break, Continue}`, adds support for emitting labels to `syntax::ast::make::{expr_break, expr_continue}`, and implements the required machinery to let `extract_function` make use of them.

This does modify the external API of the `syntax` crate, but the changes there are simple, not used outside `ide_assists`, and, well, we should probably support emitting `break` and `continue` labels through `syntax` anyways, they're part of the language spec.

Closes #11413.
2022-03-12 08:54:06 -08:00
..
base_db fix clippy::single_char_pattern 2022-03-12 16:50:49 +01:00
cfg
flycheck
hir more clippy fixes: 2022-03-12 16:50:49 +01:00
hir_def more clippy fixes: 2022-03-12 16:50:49 +01:00
hir_expand more clippy fixes: 2022-03-12 16:50:49 +01:00
hir_ty more clippy fixes: 2022-03-12 16:50:49 +01:00
ide more clippy fixes: 2022-03-12 16:50:49 +01:00
ide_assists fix: "Extract to function" assist preserves break and continue labels 2022-03-12 08:54:06 -08:00
ide_completion fix clippy::needless_return 2022-03-12 16:50:49 +01:00
ide_db more clippy fixes: 2022-03-12 16:50:49 +01:00
ide_diagnostics fix clippy::redundant_closure 2022-03-12 16:50:49 +01:00
ide_ssr Disable one of the failing SSR test cases 2022-03-09 02:08:44 +01:00
limit
mbe fix clippy::needless_borrow 2022-03-12 16:50:49 +01:00
parser refactor: Rename and move const_arg_path 2022-03-11 22:28:38 +00:00
paths
proc_macro_api fix clippy::needless_borrow 2022-03-12 16:50:49 +01:00
proc_macro_srv fix clippy::needless_borrow 2022-03-12 16:50:49 +01:00
proc_macro_test
profile
project_model Update project_model test outputs 2022-03-09 22:34:42 +01:00
rust-analyzer more clippy fixes: 2022-03-12 16:50:49 +01:00
sourcegen
stdx
syntax fix: "Extract to function" assist preserves break and continue labels 2022-03-12 08:54:06 -08:00
test_utils fix: Allow configuration of colons in inlay-hints 2022-03-11 21:15:36 +01:00
text_edit more clippy fixes: 2022-03-12 16:50:49 +01:00
toolchain
tt
vfs
vfs-notify