mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
foiled again (forgot to run cargo test)
This commit is contained in:
parent
0086b6ab0a
commit
ab70553a38
@ -344,7 +344,7 @@ impl<'cx> WithSearchPat for (&Attribute, &LateContext<'cx>) {
|
||||
type Context = LateContext<'cx>;
|
||||
|
||||
fn search_pat(&self, _cx: &Self::Context) -> (Pat, Pat) {
|
||||
attr_search_pat(&self.0)
|
||||
attr_search_pat(self.0)
|
||||
}
|
||||
|
||||
fn span(&self) -> Span {
|
||||
|
@ -25,7 +25,7 @@ struct CfgT;
|
||||
|
||||
fn ignore_external() {
|
||||
external! {
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(clippy::needless_borrow)] // Should not lint
|
||||
fn a() {}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user