]> git.lizzy.rs Git - rust.git/commit
Allows neg_cmp_op_on_partial_ord for external macros (fixes #2856).
authorBruno Kirschner <bruno@p3ki.com>
Wed, 20 Jun 2018 09:07:41 +0000 (11:07 +0200)
committerBruno Kirschner <bruno@p3ki.com>
Wed, 20 Jun 2018 09:58:15 +0000 (11:58 +0200)
commitfedd3ef71182e0502c74ec9fa1e3b11a66832141
tree45d3b64a9999d11503dd301555f3319cbe3e2098
parente4d31ab86cba04c10dfda41bd27cee337cdd000f
Allows neg_cmp_op_on_partial_ord for external macros (fixes #2856).

The macro always negates the result of the given comparison in its
internal check which automatically triggered the lint. As its an
external macro there was no chance to do anything about it which lead
to a white listing of all external macros to prevent further issues.
clippy_lints/src/neg_cmp_op_on_partial_ord.rs
tests/ui/neg_cmp_op_on_partial_ord.rs