Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/codegen/diagnostics_docs.rs')
-rw-r--r--xtask/src/codegen/diagnostics_docs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen/diagnostics_docs.rs b/xtask/src/codegen/diagnostics_docs.rs
index a45b412fda..cf30531e7f 100644
--- a/xtask/src/codegen/diagnostics_docs.rs
+++ b/xtask/src/codegen/diagnostics_docs.rs
@@ -7,7 +7,7 @@ use crate::{
project_root,
};
-fn generate(check: bool) {
+pub(crate) fn generate(check: bool) {
let diagnostics = Diagnostic::collect().unwrap();
if !check {
let contents =