diff options
-rw-r--r-- | crates/ide_assists/src/tests/generated.rs | 4 | ||||
-rw-r--r-- | xtask/src/tidy.rs | 1 |
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 | ||
456 | fn handle(action: Action) { | 456 | fn 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", |