Unnamed repository; edit this file 'description' to name the repository.
Add a FIXME for unordered fields
A4-Tacks 6 months ago
parent 416ff1c · commit 9fb0cd7
-rw-r--r--crates/ide-assists/src/handlers/convert_named_struct_to_tuple_struct.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide-assists/src/handlers/convert_named_struct_to_tuple_struct.rs b/crates/ide-assists/src/handlers/convert_named_struct_to_tuple_struct.rs
index 0847719d69..e518c39dab 100644
--- a/crates/ide-assists/src/handlers/convert_named_struct_to_tuple_struct.rs
+++ b/crates/ide-assists/src/handlers/convert_named_struct_to_tuple_struct.rs
@@ -187,6 +187,7 @@ fn process_struct_name_reference(
return None;
}
+ // FIXME: Processing RecordPat and RecordExpr for unordered fields, and insert RestPat
let parent = full_path.syntax().parent()?;
match_ast! {
match parent {