mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
![]() 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. |
||
---|---|---|
.. | ||
ast | ||
parsing | ||
tests | ||
validation | ||
algo.rs | ||
ast.rs | ||
display.rs | ||
fuzz.rs | ||
hacks.rs | ||
lib.rs | ||
parsing.rs | ||
ptr.rs | ||
syntax_error.rs | ||
syntax_node.rs | ||
ted.rs | ||
tests.rs | ||
token_text.rs | ||
utils.rs | ||
validation.rs |