Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/flags.rs')
-rw-r--r--xtask/src/flags.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/xtask/src/flags.rs b/xtask/src/flags.rs
index f5827170b6..681c588bd0 100644
--- a/xtask/src/flags.rs
+++ b/xtask/src/flags.rs
@@ -92,6 +92,8 @@ pub enum CodegenType {
#[default]
All,
AssistsDocTests,
+ DiagnosticsDocs,
+ LintDefinitions,
}
impl FromStr for CodegenType {
@@ -100,6 +102,8 @@ impl FromStr for CodegenType {
match s {
"all" => Ok(Self::All),
"assists-doc-tests" => Ok(Self::AssistsDocTests),
+ "diagnostics-docs" => Ok(Self::DiagnosticsDocs),
+ "lints-definitions" => Ok(Self::LintDefinitions),
_ => Err("Invalid option".to_owned()),
}
}