diff options
| author | Vitaly _Vi Shukela <vi0oss@gmail.com> | 2018-09-15 15:03:02 +0300 |
|---|---|---|
| committer | Vitaly _Vi Shukela <vi0oss@gmail.com> | 2018-09-16 21:43:06 +0300 |
| commit | 4b05128114a45fafb459fc6538f1255c84ec52cf (patch) | |
| tree | 69679c276886bcf691b3798a683bbd608cfeec1e /src/libsyntax_ext | |
| parent | 2f5cb6dbdc7aff9d4c5991c9eea78b5d9daed815 (diff) | |
| download | rust-4b05128114a45fafb459fc6538f1255c84ec52cf.tar.gz rust-4b05128114a45fafb459fc6538f1255c84ec52cf.zip | |
Attach Applicability to multipart_suggestion and span_suggestions
Diffstat (limited to 'src/libsyntax_ext')
| -rw-r--r-- | src/libsyntax_ext/format.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax_ext/format.rs b/src/libsyntax_ext/format.rs index efe9c2cefde..b4ad777e6d7 100644 --- a/src/libsyntax_ext/format.rs +++ b/src/libsyntax_ext/format.rs @@ -996,9 +996,10 @@ pub fn expand_preparsed_format_args(ecx: &mut ExtCtxt, )); } if suggestions.len() > 0 { - diag.multipart_suggestion( + diag.multipart_suggestion_with_applicability( "format specifiers use curly braces", suggestions, + Applicability::Unspecified, ); } }}; |
