diff options
| author | Vitaly _Vi Shukela <vi0oss@gmail.com> | 2018-09-17 03:16:08 +0300 |
|---|---|---|
| committer | Vitaly _Vi Shukela <vi0oss@gmail.com> | 2018-09-17 03:20:08 +0300 |
| commit | 2b7776094492bcdb9ecf62f5333b719f30ffce1f (patch) | |
| tree | 6d1cae430c70c79ed8aa945f5faf6cf786506e3b /src/libsyntax/ext | |
| parent | c61f4a71448f817848059e5c0942d14d14c929b6 (diff) | |
| download | rust-2b7776094492bcdb9ecf62f5333b719f30ffce1f.tar.gz rust-2b7776094492bcdb9ecf62f5333b719f30ffce1f.zip | |
Fill in suggestions Applicability according to @estebank
Also fix some formatting along the way.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_rules.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/ext/tt/macro_rules.rs b/src/libsyntax/ext/tt/macro_rules.rs index 75f46f2e02c..bbe49d409ea 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::Unspecified, + comma_span, + "missing comma here", + ", ".to_string(), + Applicability::MachineApplicable, ); } } |
