Skip to content

Commit 3b51e9f

Browse files
committed
fix: fix issue in macro
1 parent 9f876cc commit 3b51e9f

File tree

1 file changed

+1
-1
lines changed
  • src/tools/error_index_generator

1 file changed

+1
-1
lines changed

src/tools/error_index_generator/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ macro_rules! register_diagnostics {
2222
pub fn error_codes() -> Vec<(&'static str, Option<&'static str>)> {
2323
let mut errors: Vec<(&str, Option<&str>)> = vec![
2424
$((stringify!($error_code), Some($message)),)+
25-
$((stringify!($undocumented), None),)+
25+
$((stringify!($undocumented), None),)*
2626
];
2727
errors.sort();
2828
errors

0 commit comments

Comments
 (0)