aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomantas Jadenkus <[email protected]>2021-05-24 19:53:58 +0100
committerDomantas Jadenkus <[email protected]>2021-05-24 20:17:16 +0100
commit8d2e3816bce0420c186e35d073b8e56ce0e38506 (patch)
tree256fd06d49ad94c210da01f40103e3a5197e3d60
parent22e5194396c2d26e870cda6e4712f1ec56efb04e (diff)
tidy
-rw-r--r--crates/ide_assists/src/tests/generated.rs4
-rw-r--r--xtask/src/tidy.rs1
2 files changed, 3 insertions, 2 deletions
diff --git a/crates/ide_assists/src/tests/generated.rs b/crates/ide_assists/src/tests/generated.rs
index 8a9b0777c..de5d9e55a 100644
--- a/crates/ide_assists/src/tests/generated.rs
+++ b/crates/ide_assists/src/tests/generated.rs
@@ -455,8 +455,8 @@ enum Action { Move { distance: u32 }, Stop }
455 455
456fn handle(action: Action) { 456fn handle(action: Action) {
457 match action { 457 match action {
458 $0Action::Move { distance } => {} 458 $0Action::Move { distance } => todo!(),
459 Action::Stop => {} 459 Action::Stop => todo!(),
460 } 460 }
461} 461}
462"#####, 462"#####,
diff --git a/xtask/src/tidy.rs b/xtask/src/tidy.rs
index 82b33a7a0..6f687a788 100644
--- a/xtask/src/tidy.rs
+++ b/xtask/src/tidy.rs
@@ -275,6 +275,7 @@ fn check_todo(path: &Path, text: &str) {
275 // Some of our assists generate `todo!()`. 275 // Some of our assists generate `todo!()`.
276 "handlers/add_turbo_fish.rs", 276 "handlers/add_turbo_fish.rs",
277 "handlers/generate_function.rs", 277 "handlers/generate_function.rs",
278 "handlers/fill_match_arms.rs",
278 // To support generating `todo!()` in assists, we have `expr_todo()` in 279 // To support generating `todo!()` in assists, we have `expr_todo()` in
279 // `ast::make`. 280 // `ast::make`.
280 "ast/make.rs", 281 "ast/make.rs",