This commit is contained in:
Domantas Jadenkus 2021-05-24 21:53:58 +03:00
parent 22e5194396
commit 8d2e3816bc
2 changed files with 3 additions and 2 deletions

View file

@ -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!(),
}
}
"#####,

View file

@ -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",