rust/crates/syntax
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
..
fuzz Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
src fix: "Extract to function" assist preserves break and continue labels 2022-03-12 08:54:06 -08:00
test_data Validate let expressions 2022-02-21 08:34:35 +02:00
Cargo.toml fix: Recognize Self as a proper keyword 2022-03-05 23:20:06 +01:00