Skip to content

Commit 181d129

Browse files
authored
Rollup merge of rust-lang#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 rust-lang#63721. Removing the `stringify` call removes them. r? @Mark-Simulacrum
2 parents 5e44c5f + bd25507 commit 181d129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/error_index_generator/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn register_all() -> Vec<(&'static str, Option<&'static str>)> {
3535
($($ecode:ident: $message:expr,)* ; $($code:ident,)*) => (
3636
$(
3737
{long_codes.extend([
38-
(stringify!($ecode), Some(stringify!($message))),
38+
(stringify!($ecode), Some($message)),
3939
].iter());}
4040
)*
4141
$(

0 commit comments

Comments
 (0)