You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion, clippy::use_debug should allow the debug format "{:?}" within Debug trait implementations. This seems to be backed up by the comment in the test here:
I propose that this error be removed from the test and the code adjusted to allow for debug formatting in Debug. If this is not desired, then the comment in tests/ui/print.rs should be removed to avoid confusion.
The text was updated successfully, but these errors were encountered:
In my opinion,
clippy::use_debug
should allow the debug format"{:?}"
withinDebug
trait implementations. This seems to be backed up by the comment in the test here:rust-clippy/tests/ui/print.rs
Lines 15 to 20 in da7aebc
However, the expected output actually expects an error in this case
rust-clippy/tests/ui/print.stderr
Lines 9 to 13 in da7aebc
I propose that this error be removed from the test and the code adjusted to allow for debug formatting in
Debug
. If this is not desired, then the comment in tests/ui/print.rs should be removed to avoid confusion.The text was updated successfully, but these errors were encountered: