Don't trigger missing_const_for_fn in external macros
As reported in #3841. Only fixes the part where it triggers on the `derive`.
This commit is contained in:
parent
2b189d2d11
commit
e29559fdfd
2 changed files with 6 additions and 2 deletions
|
|
@ -55,3 +55,7 @@ trait Foo {
|
|||
33
|
||||
}
|
||||
}
|
||||
|
||||
// Don't lint in external macros (derive)
|
||||
#[derive(PartialEq, Eq)]
|
||||
struct Point(isize, isize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue