about summary refs log tree commit diff
path: root/src/librustc_parse
diff options
context:
space:
mode:
authorKevin Per <kevin.per@protonmail.com>2020-04-04 08:01:42 +0000
committerKevin Per <kevin.per@protonmail.com>2020-04-04 08:03:54 +0000
commit2c6f84668e9f985aff261d317d3188d053ca29d1 (patch)
treedbb2f914998e6f28de0b25191bf0a299c8f94f4a /src/librustc_parse
parente21d101c45022ab34d5ad10605a16d6ce8116c94 (diff)
downloadrust-2c6f84668e9f985aff261d317d3188d053ca29d1.tar.gz
rust-2c6f84668e9f985aff261d317d3188d053ca29d1.zip
Drop `this` in error message to not reach 100 characters
Diffstat (limited to 'src/librustc_parse')
-rw-r--r--src/librustc_parse/lexer/tokentrees.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_parse/lexer/tokentrees.rs b/src/librustc_parse/lexer/tokentrees.rs
index 09bbfe10fe5..2dda90c3734 100644
--- a/src/librustc_parse/lexer/tokentrees.rs
+++ b/src/librustc_parse/lexer/tokentrees.rs
@@ -246,7 +246,7 @@ impl<'a> TokenTreesReader<'a> {
                             if (parent.0.to(parent.1)).contains(span) {
                                 err.span_label(
                                     span,
-                                    "this block is empty, you might have not meant to close it",
+                                    "block is empty, you might have not meant to close it",
                                 );
                             }
                             else {