diff options
| author | bors <bors@rust-lang.org> | 2021-07-13 13:58:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-13 13:58:38 +0000 |
| commit | bf4512ef57aaaebcf537af47380026d40238685b (patch) | |
| tree | 80cbc9e7e0e242d8253cd00a9428aab0d6cce902 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 94d6be4c0a03d0149630bce7e6f373e327dd7471 (diff) | |
| parent | 306f9e843d5474eb2de6907b3ca6941dc918ea23 (diff) | |
| download | rust-bf4512ef57aaaebcf537af47380026d40238685b.tar.gz rust-bf4512ef57aaaebcf537af47380026d40238685b.zip | |
Auto merge of #7442 - camsteffen:format-args, r=xFrednet
Refactor `format_args!` expansion parsing
Introduces `FormatExpn::parse` and `FormatArgsExpn::parse`. Motivated by rust-lang/rust#83302, so I only have to change Clippy in one place. Fixed an FP along the way.
I also allowed `needless_bool` in macros because I often want to do `if_chain! { .. then { true } else { false } }`.
changelog: Fix false positive in `useless_format` when some text is appended or prepended to a single string with some useless formatting params
changelog: Allow `needless_bool` in macros
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
