about summary refs log tree commit diff
path: root/src/test/ui/parser
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-07-16 11:38:58 -0400
committerGitHub <noreply@github.com>2019-07-16 11:38:58 -0400
commit94b16d4bd000a3ca216092f85968b753e3363a50 (patch)
tree5efe4445d1e1a770205c47960c79c0af34819f23 /src/test/ui/parser
parent4226f14cbb1ecfbc7c1ff7e6c4b7030b1470a58a (diff)
parent7ddafaf6f95370935be339af71974da34752f1b5 (diff)
downloadrust-94b16d4bd000a3ca216092f85968b753e3363a50.tar.gz
rust-94b16d4bd000a3ca216092f85968b753e3363a50.zip
Rollup merge of #62703 - fakenine:normalize_use_of_backticks_compiler_messages_p6, r=eddyb
normalize use of backticks in compiler messages for libsyntax/parse

https://github.com/rust-lang/rust/issues/60532
Diffstat (limited to 'src/test/ui/parser')
-rw-r--r--src/test/ui/parser/recover-from-bad-variant.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/parser/recover-from-bad-variant.stderr b/src/test/ui/parser/recover-from-bad-variant.stderr
index 150d74f0742..d525bd3f4c6 100644
--- a/src/test/ui/parser/recover-from-bad-variant.stderr
+++ b/src/test/ui/parser/recover-from-bad-variant.stderr
@@ -4,7 +4,7 @@ error: expected type, found `3`
 LL |     let x = Enum::Foo(a: 3, b: 4);
    |                          ^ expecting a type here because of type ascription
    |
-   = note: #![feature(type_ascription)] lets you annotate an expression with a type: `<expr>: <type>`
+   = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
 note: this expression expects an ascribed type after the colon
   --> $DIR/recover-from-bad-variant.rs:7:23
    |