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/format.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax_ext/format.rs b/src/libsyntax_ext/format.rs index b4ad777e6d7..1adbbbe2446 100644 --- a/src/libsyntax_ext/format.rs +++ b/src/libsyntax_ext/format.rs @@ -997,9 +997,9 @@ pub fn expand_preparsed_format_args(ecx: &mut ExtCtxt, } if suggestions.len() > 0 { diag.multipart_suggestion_with_applicability( - "format specifiers use curly braces", - suggestions, - Applicability::Unspecified, + "format specifiers use curly braces", + suggestions, + Applicability::MachineApplicable, ); } }}; |
