Rollup merge of #64422 - ollie27:error_index_generator_stringify, r=Mark-Simulacrum

Remove raw string literal quotes from error index descriptions

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

r? @Mark-Simulacrum
This commit is contained in:
Mazdak Farrokhzad 2019-09-14 16:42:35 +02:00 committed by GitHub
commit 181d12938d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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());}
)*
$(