fix tidy check

This commit is contained in:
Dmitry 2020-08-10 00:35:42 +07:00
parent fab733b3ae
commit 751d0367c2

View file

@ -97,6 +97,8 @@ fn check_todo(path: &Path, text: &str) {
// To support generating `todo!()` in assists, we have `expr_todo()` in
// `ast::make`.
"ast/make.rs",
// The documentation in string literals may contain anything for its own purposes
"/completion/unstable_feature_descriptor.rs"
];
if need_todo.iter().any(|p| path.ends_with(p)) {
return;