diff options
| author | acdenisSK <acdenissk69@gmail.com> | 2017-05-06 16:06:38 +0200 |
|---|---|---|
| committer | acdenisSK <acdenissk69@gmail.com> | 2017-05-06 16:06:38 +0200 |
| commit | a257d5afb037b45581657fe343d5df5a100f8d70 (patch) | |
| tree | 91654200852bab89857a7933e7e03e277dbc9043 /src/libsyntax/parse/parser.rs | |
| parent | 8aad3a3524fd04db3e6ddf59604d33c8e3797108 (diff) | |
| download | rust-a257d5afb037b45581657fe343d5df5a100f8d70.tar.gz rust-a257d5afb037b45581657fe343d5df5a100f8d70.zip | |
Fix "an" usage
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index f99f39dae6b..268b3d08a80 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2707,7 +2707,7 @@ impl<'a> Parser<'a> { let (span, e) = self.interpolated_or_expr_span(e)?; let span_of_tilde = lo; let mut err = self.diagnostic().struct_span_err(span_of_tilde, - "`~` can not be used as an unary operator"); + "`~` can not be used as a unary operator"); err.span_label(span_of_tilde, &"did you mean `!`?"); err.help("use `!` instead of `~` if you meant to perform bitwise negation"); err.emit(); |
