fix: fix issue in macro
This commit is contained in:
parent
9f876cc900
commit
3b51e9fde8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue