about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-14 16:42:35 +0200
committerGitHub <noreply@github.com>2019-09-14 16:42:35 +0200
commit181d12938db9384ff3c5a3a89262a57fed02796c (patch)
tree8ecec0edcd6b272177ba04605f8a509dbf6f7bc2
parent5e44c5f2d64780873c3c25c07239940a354e5735 (diff)
parentbd25507f0e6501abb8bb1ee79330bf76136d393f (diff)
downloadrust-181d12938db9384ff3c5a3a89262a57fed02796c.tar.gz
rust-181d12938db9384ff3c5a3a89262a57fed02796c.zip
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
-rw-r--r--src/tools/error_index_generator/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/error_index_generator/build.rs b/src/tools/error_index_generator/build.rs
index 832aa3b1c8d..592b3f14c85 100644
--- a/src/tools/error_index_generator/build.rs
+++ b/src/tools/error_index_generator/build.rs
@@ -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());}
             )*
             $(