Skip to content

Commit

Permalink
fix: fix issue in macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezrashaw committed Feb 25, 2023
1 parent 9f876cc commit 3b51e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/error_index_generator/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ macro_rules! register_diagnostics {
pub fn error_codes() -> Vec<(&'static str, Option<&'static str>)> {
let mut errors: Vec<(&str, Option<&str>)> = vec![
$((stringify!($error_code), Some($message)),)+
$((stringify!($undocumented), None),)+
$((stringify!($undocumented), None),)*
];
errors.sort();
errors
Expand Down

0 comments on commit 3b51e9f

Please sign in to comment.