From 8d2e3816bce0420c186e35d073b8e56ce0e38506 Mon Sep 17 00:00:00 2001 From: Domantas Jadenkus Date: Mon, 24 May 2021 21:53:58 +0300 Subject: tidy --- crates/ide_assists/src/tests/generated.rs | 4 ++-- 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 } fn handle(action: Action) { match action { - $0Action::Move { distance } => {} - Action::Stop => {} + $0Action::Move { distance } => todo!(), + Action::Stop => todo!(), } } "#####, 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) { // Some of our assists generate `todo!()`. "handlers/add_turbo_fish.rs", "handlers/generate_function.rs", + "handlers/fill_match_arms.rs", // To support generating `todo!()` in assists, we have `expr_todo()` in // `ast::make`. "ast/make.rs", -- cgit v1.2.3