]> git.lizzy.rs Git - rust.git/commit
introducing `span_suggestion_short_with_applicability`
authorZack M. Davis <code@zackmdavis.net>
Sun, 13 May 2018 03:44:50 +0000 (20:44 -0700)
committerZack M. Davis <code@zackmdavis.net>
Sun, 20 May 2018 19:57:19 +0000 (12:57 -0700)
commit6bb4aad51f40536447cd7603ab5be7792bab0a3d
tree4ea5459b0377e8d8c4b64a3a1eb700806553608b
parentb4384491615e2159653207b74760643b507d12f8
introducing `span_suggestion_short_with_applicability`

Some would argue that this 40-character method name is ludicrously
unwieldy (even ironic), but it's the unique continuation of the
precedent set by the other suggestion methods. (And there is some hope
that someday we'll just fold `Applicability` into the signature of the
"basic" method `span_suggestion`.)

This is in support of #50723.
src/librustc_errors/diagnostic.rs
src/librustc_errors/diagnostic_builder.rs