Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically mark methods of non-pub structs as ignored #2012

Merged
merged 36 commits into from
Jun 2, 2024
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
59fa7e7
refactor: extract
fzyzcjy Jun 2, 2024
00ffa6d
chore: hint
fzyzcjy Jun 2, 2024
3bfd108
chore: more
fzyzcjy Jun 2, 2024
52adbd2
feat: more
fzyzcjy Jun 2, 2024
cf0233b
fix: err
fzyzcjy Jun 2, 2024
8f8d75a
Merge branch 'feat/12119' into feat/12118
fzyzcjy Jun 2, 2024
b7a2b41
fix: err
fzyzcjy Jun 2, 2024
e66922e
Merge branch 'feat/12119' into feat/12118
fzyzcjy Jun 2, 2024
b6e344f
feat: field
fzyzcjy Jun 2, 2024
d900d19
feat: more
fzyzcjy Jun 2, 2024
875a6a4
feat: usage
fzyzcjy Jun 2, 2024
5a936de
refactor: rename
fzyzcjy Jun 2, 2024
0baae76
fix: err
fzyzcjy Jun 2, 2024
f17fbb0
feat: more
fzyzcjy Jun 2, 2024
bde0ae0
refactor: extract
fzyzcjy Jun 2, 2024
2cac78d
feat: more
fzyzcjy Jun 2, 2024
1a85a9f
fix: err
fzyzcjy Jun 2, 2024
6821ebc
feat: more
fzyzcjy Jun 2, 2024
3695fb8
feat: more
fzyzcjy Jun 2, 2024
bc3af20
feat: more
fzyzcjy Jun 2, 2024
17b35d8
fix: err
fzyzcjy Jun 2, 2024
c46d02b
chore: lint
fzyzcjy Jun 2, 2024
5919b20
chore: lint
fzyzcjy Jun 2, 2024
c927bf0
feat: more
fzyzcjy Jun 2, 2024
15f057c
fix: err
fzyzcjy Jun 2, 2024
78e4167
chore: lint
fzyzcjy Jun 2, 2024
40d0fbb
refactor: rename
fzyzcjy Jun 2, 2024
4fb77a5
feat: more
fzyzcjy Jun 2, 2024
78f0407
feat: arg
fzyzcjy Jun 2, 2024
4058059
Revert "feat: arg"
fzyzcjy Jun 2, 2024
79bd312
fix: err
fzyzcjy Jun 2, 2024
e05e145
feat: more
fzyzcjy Jun 2, 2024
5c2b305
chore: comments
fzyzcjy Jun 2, 2024
3bb400a
chore: fmt
fzyzcjy Jun 2, 2024
977a7e1
chore: goldens
fzyzcjy Jun 2, 2024
f2c24bd
Merge branch 'master' into feat/12118
fzyzcjy Jun 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: err
  • Loading branch information
fzyzcjy committed Jun 2, 2024
commit 1a85a9fd312e17248313c7ef3f53e80745668cc0
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ fn parse_comment(input: &str) -> MirComment {
}

pub(crate) fn parse_simple_type_should_ignore(attrs: &FrbAttributes, vis: HirVisibility) -> bool {
attributes.ignore() || (vis != HirVisibility::Public)
attrs.ignore() || (vis != HirVisibility::Public)
}