diff options
| author | Samy Kacimi <samy.kacimi@protonmail.ch> | 2019-07-23 20:03:20 +0200 |
|---|---|---|
| committer | Samy Kacimi <samy.kacimi@protonmail.ch> | 2019-07-23 20:03:20 +0200 |
| commit | 2083a123a50e9939bab639d9f06b9ef4cdc3d3ed (patch) | |
| tree | 73018d2db1e67d5ab399f3c5095e2801b3e54022 /src/libsyntax/ext | |
| parent | 3ebca72a11869f946b31f900faffb75c2bb2473a (diff) | |
Normalize use of backticks in compiler messages for libsyntax/*
https://github.com/rust-lang/rust/issues/60532
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index ae72f1fd108..14d573d07d0 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -602,7 +602,7 @@ impl<'a, 'b> MacroExpander<'a, 'b> { None => return TokenStream::empty(), } self.cx.span_err(span, "custom attribute invocations must be \ - of the form #[foo] or #[foo(..)], the macro name must only be \ + of the form `#[foo]` or `#[foo(..)]`, the macro name must only be \ followed by a delimiter token"); TokenStream::empty() } |
