about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorRobin Schroer <git@sulami.xyz>2023-01-06 12:52:51 +0900
committerRobin Schroer <git@sulami.xyz>2023-01-06 12:58:51 +0900
commite443604a24029e0ffd77f917e82980539fdacbbe (patch)
treef8a7ded43d25f2ba72cb015ddf783de17bcbee86 /compiler/rustc_codegen_llvm/src
parent4f4c96155ae7578dcbdf09dabd7f382a371cc9d5 (diff)
downloadrust-e443604a24029e0ffd77f917e82980539fdacbbe.tar.gz
rust-e443604a24029e0ffd77f917e82980539fdacbbe.zip
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: Don't trigger [`unused_self`] if the method body contains a `todo!()` call
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions