aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
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 };