diff options
| author | Vitaly _Vi Shukela <vi0oss@gmail.com> | 2018-09-17 20:13:08 +0300 |
|---|---|---|
| committer | Vitaly _Vi Shukela <vi0oss@gmail.com> | 2018-09-17 20:26:05 +0300 |
| commit | d0790c490a2233d04375072123e70ed158eb3848 (patch) | |
| tree | a02ac12a5038ff424213e53e53468da50b72094e /src/libsyntax | |
| parent | 15982fe369e87d43332556f87f66f7c0e5841830 (diff) | |
| download | rust-d0790c490a2233d04375072123e70ed158eb3848.tar.gz rust-d0790c490a2233d04375072123e70ed158eb3848.zip | |
Whitespace fix again.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/config.rs | 8 | ||||
| -rw-r--r-- | src/libsyntax/ext/tt/macro_rules.rs | 8 | ||||
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 10 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/libsyntax/config.rs b/src/libsyntax/config.rs index df202fb6b6d..5d978b6b9e6 100644 --- a/src/libsyntax/config.rs +++ b/src/libsyntax/config.rs @@ -125,10 +125,10 @@ impl<'a> StripUnconfigured<'a> { let mut err = self.sess.span_diagnostic.struct_span_err(span, msg); if !suggestion.is_empty() { err.span_suggestion_with_applicability( - span, - "expected syntax is", - suggestion.into(), - Applicability::MaybeIncorrect, + span, + "expected syntax is", + suggestion.into(), + Applicability::MaybeIncorrect, ); } err.emit(); diff --git a/src/libsyntax/ext/tt/macro_rules.rs b/src/libsyntax/ext/tt/macro_rules.rs index bbe49d409ea..214bc9cffc4 100644 --- a/src/libsyntax/ext/tt/macro_rules.rs +++ b/src/libsyntax/ext/tt/macro_rules.rs @@ -189,10 +189,10 @@ fn generic_extension<'cx>(cx: &'cx mut ExtCtxt, err.note("you might be missing a comma"); } else { err.span_suggestion_short_with_applicability( - comma_span, - "missing comma here", - ", ".to_string(), - Applicability::MachineApplicable, + comma_span, + "missing comma here", + ", ".to_string(), + Applicability::MachineApplicable, ); } } diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 18287189539..6ec1ad969ee 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3883,11 +3883,11 @@ impl<'a> Parser<'a> { // If the struct looks otherwise well formed, recover and continue. if let Some(sp) = comma_sp { err.span_suggestion_short_with_applicability( - sp, - "remove this comma", - String::new(), - Applicability::MachineApplicable, - ); + sp, + "remove this comma", + String::new(), + Applicability::MachineApplicable, + ); } err.emit(); break; |
