allow(ptr_arg) in argument position #5644
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
E-hard
Call for participation: This a hard problem and requires more experience or effort to work on
Clippy messages for ptr_arg aren’t disabled when the allow attribute is directly on the argument:
Putting it to the top of the function instead works fine:
I think this should be allowed, since it works with other lints.
Link to playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b33ea40fad2a66997225dd21f858230a
The text was updated successfully, but these errors were encountered: