Skip to content

Commit

Permalink
Rollup merge of rust-lang#64422 - ollie27:error_index_generator_strin…
Browse files Browse the repository at this point in the history
…gify, r=Mark-Simulacrum

Remove raw string literal quotes from error index descriptions

The error index has unnecessary `r##"` and `"##` around the descriptions from rust-lang#63721. Removing the `stringify` call removes them.

r? @Mark-Simulacrum
  • Loading branch information
Centril committed Sep 14, 2019
2 parents 67bc695 + bd25507 commit af814b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/error_index_generator/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn register_all() -> Vec<(&'static str, Option<&'static str>)> {
($($ecode:ident: $message:expr,)* ; $($code:ident,)*) => (
$(
{long_codes.extend([
(stringify!($ecode), Some(stringify!($message))),
(stringify!($ecode), Some($message)),
].iter());}
)*
$(
Expand Down

0 comments on commit af814b2

Please sign in to comment.