diff options
| author | Ezra Shaw <ezrasure@outlook.com> | 2023-02-25 22:12:30 +1300 |
|---|---|---|
| committer | Ezra Shaw <ezrasure@outlook.com> | 2023-02-25 22:12:30 +1300 |
| commit | 3b51e9fde8e86e6a082922bc7db2f673ed981836 (patch) | |
| tree | b4c3a9e9dfd77b5a4bac3ce05af9fe31e79ddb02 | |
| parent | 9f876cc900d84d59c0516a2fff5806fd96b52205 (diff) | |
| download | rust-3b51e9fde8e86e6a082922bc7db2f673ed981836.tar.gz rust-3b51e9fde8e86e6a082922bc7db2f673ed981836.zip | |
fix: fix issue in macro
| -rw-r--r-- | src/tools/error_index_generator/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/error_index_generator/main.rs b/src/tools/error_index_generator/main.rs index 98eda97e236..373196b6642 100644 --- a/src/tools/error_index_generator/main.rs +++ b/src/tools/error_index_generator/main.rs @@ -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 |
