about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJames McMurray <jamesmcm03@gmail.com>2021-12-28 19:27:11 +0100
committerJames McMurray <jamesmcm03@gmail.com>2022-02-14 18:49:51 +0100
commitb162b11abc4c5275b2bf2f2f4679f0b6d72be2cb (patch)
tree764a0bb732ad879f301360a9680bbe3ab8068126 /compiler/rustc_codegen_llvm/src
parent4931cab709401cc8350598eab9bd51031c89565a (diff)
downloadrust-b162b11abc4c5275b2bf2f2f4679f0b6d72be2cb.tar.gz
rust-b162b11abc4c5275b2bf2f2f4679f0b6d72be2cb.zip
Add recursive_format_impl lint
The to_string_in_display lint is renamed to recursive_format_impl
A check is added for the use of self formatted with Display or Debug
inside any format string in the same impl
The to_string_in_display check is kept as is - like in the
format_in_format_args lint

For now only Display and Debug are checked
This could also be extended to other Format traits (Binary, etc.)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions