diff options
| author | bors <bors@rust-lang.org> | 2023-01-11 00:30:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-11 00:30:19 +0000 |
| commit | 15226f91bb1193946bccfbdd4074d4c507c3cc49 (patch) | |
| tree | df873eec8966cf39662892bc55709ac9b6efc3ac /compiler/rustc_codegen_llvm/src | |
| parent | 41b2a3d9fe20784bb1be0ac87a15fea015c3eac2 (diff) | |
| parent | e443604a24029e0ffd77f917e82980539fdacbbe (diff) | |
| download | rust-15226f91bb1193946bccfbdd4074d4c507c3cc49.tar.gz rust-15226f91bb1193946bccfbdd4074d4c507c3cc49.zip | |
Auto merge of #10166 - sulami:master, r=giraffate
unused_self: Don't trigger if the method body contains todo!() If the author is using todo!(), presumably they intend to use self at some point later, so we don't have a good basis to recommend factoring out to an associated function. Fixes #10117. --- changelog: Enhancement: [`unused_self`]: No longer lints, if the method body contains a `todo!()` call [#10166](https://github.com/rust-lang/rust-clippy/pull/10166) <!-- changelog_checked -->
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
