]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #53504 - ekse:suggestions-applicability-2, r=estebank
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 22 Aug 2018 15:45:34 +0000 (17:45 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Aug 2018 15:45:34 +0000 (17:45 +0200)
commit4fa4bb56339868a125c2f5a80a1cea982d92d545
treea031de63ea6d04b05e36a01eb99057444a4a8f23
parent55d98236f9fcdf88f574bcf8180c0e92924d616c
parent5a23a0d283653c79fd623b479b1e8e71d5eea093
Rollup merge of #53504 - ekse:suggestions-applicability-2, r=estebank

Set applicability for more suggestions.

Converts a couple more calls to `span_suggestion_with_applicability`  (#50723). To be on the safe side, I marked suggestions that depend on the intent of the user or that are potentially lossy conversions as MaybeIncorrect.

r? @estebank
src/librustc_passes/ast_validation.rs
src/librustc_resolve/macros.rs
src/librustc_typeck/check/mod.rs
src/libsyntax_ext/format.rs