-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #9454 - kraktus:use_self, r=flip1995
Do not lint `use_self` in proc macro expansion fix #9440 fix #8910 fix #6902 changelog: [`use_self`]: Do not lint in proc macro expansion
- Loading branch information
Showing
3 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -608,3 +608,12 @@ mod issue8845 { | |
} | ||
} | ||
} | ||
|
||
mod issue6902 { | ||
use serde::Serialize; | ||
|
||
#[derive(Serialize)] | ||
pub enum Foo { | ||
Bar = 1, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -608,3 +608,12 @@ mod issue8845 { | |
} | ||
} | ||
} | ||
|
||
mod issue6902 { | ||
use serde::Serialize; | ||
|
||
#[derive(Serialize)] | ||
pub enum Foo { | ||
Bar = 1, | ||
} | ||
} |