aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-01-26 23:41:48 +0000
committerVeetaha <[email protected]>2020-02-03 22:00:55 +0000
commitbf60661aa3e2a77fedb3e1627675842d05538860 (patch)
treef0d12c1bccd68f571af84c014e67dbe5f038f50c /crates/ra_syntax
parentc6d0881382548da9e6f8a8362306e7c3948b84b8 (diff)
ra_syntax: remove backticks from TokenizeError message since that is not Markdown ;(
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r--crates/ra_syntax/src/syntax_error.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/crates/ra_syntax/src/syntax_error.rs b/crates/ra_syntax/src/syntax_error.rs
index af18a30f2..45e11f404 100644
--- a/crates/ra_syntax/src/syntax_error.rs
+++ b/crates/ra_syntax/src/syntax_error.rs
@@ -126,31 +126,31 @@ impl fmt::Display for TokenizeError {
126 TokenizeError::EmptyInt => "Missing digits after integer base prefix", 126 TokenizeError::EmptyInt => "Missing digits after integer base prefix",
127 TokenizeError::EmptyExponent => "Missing digits after the exponent symbol", 127 TokenizeError::EmptyExponent => "Missing digits after the exponent symbol",
128 TokenizeError::UnterminatedBlockComment => { 128 TokenizeError::UnterminatedBlockComment => {
129 "Missing trailing `*/` symbols to terminate the block comment" 129 "Missing trailing */ symbols to terminate the block comment"
130 } 130 }
131 TokenizeError::UnterminatedChar => { 131 TokenizeError::UnterminatedChar => {
132 "Missing trailing `'` symbol to terminate the character literal" 132 "Missing trailing ' symbol to terminate the character literal"
133 } 133 }
134 TokenizeError::UnterminatedByte => { 134 TokenizeError::UnterminatedByte => {
135 "Missing trailing `'` symbol to terminate the byte literal" 135 "Missing trailing ' symbol to terminate the byte literal"
136 } 136 }
137 TokenizeError::UnterminatedString => { 137 TokenizeError::UnterminatedString => {
138 "Missing trailing `\"` symbol to terminate the string literal" 138 "Missing trailing \" symbol to terminate the string literal"
139 } 139 }
140 TokenizeError::UnterminatedByteString => { 140 TokenizeError::UnterminatedByteString => {
141 "Missing trailing `\"` symbol to terminate the byte string literal" 141 "Missing trailing \" symbol to terminate the byte string literal"
142 } 142 }
143 TokenizeError::UnterminatedRawString => { 143 TokenizeError::UnterminatedRawString => {
144 "Missing trailing `\"` with `#` symbols to terminate the raw string literal" 144 "Missing trailing \" with # symbols to terminate the raw string literal"
145 } 145 }
146 TokenizeError::UnterminatedRawByteString => { 146 TokenizeError::UnterminatedRawByteString => {
147 "Missing trailing `\"` with `#` symbols to terminate the raw byte string literal" 147 "Missing trailing \" with # symbols to terminate the raw byte string literal"
148 } 148 }
149 TokenizeError::UnstartedRawString => { 149 TokenizeError::UnstartedRawString => {
150 "Missing `\"` symbol after `#` symbols to begin the raw string literal" 150 "Missing \" symbol after # symbols to begin the raw string literal"
151 } 151 }
152 TokenizeError::UnstartedRawByteString => { 152 TokenizeError::UnstartedRawByteString => {
153 "Missing `\"` symbol after `#` symbols to begin the raw byte string literal" 153 "Missing \" symbol after # symbols to begin the raw byte string literal"
154 } 154 }
155 TokenizeError::LifetimeStartsWithNumber => "Lifetime name cannot start with a number", 155 TokenizeError::LifetimeStartsWithNumber => "Lifetime name cannot start with a number",
156 }; 156 };