diff options
Diffstat (limited to 'src/tools')
| -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 1a4df167183..c1777f7ea03 100644 --- a/src/tools/error_index_generator/main.rs +++ b/src/tools/error_index_generator/main.rs @@ -286,7 +286,7 @@ fn main() { let (format, dst) = parse_args(); let result = syntax::with_default_globals(move || main_with_result(format, &dst)); if let Err(e) = result { - panic!("{}", e.description()); + panic!("{}", e.to_string()); } } |
