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

Module derive types should inherit visibility #2610

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

laggui
Copy link
Member

@laggui laggui commented Dec 11, 2024

Pull Request Template

Checklist

  • Confirmed that run-checks all script has been executed.

Related Issues/PRs

Fixes #2608

Changes

Changed the proc macro to keep the original module type visibility across automatically derived types like Record and RecordItem

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.86%. Comparing base (ebd7649) to head (1fb442e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2610   +/-   ##
=======================================
  Coverage   81.86%   81.86%           
=======================================
  Files         832      832           
  Lines      106399   106407    +8     
=======================================
+ Hits        87099    87107    +8     
  Misses      19300    19300           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@laggui laggui merged commit 9d355ef into main Dec 13, 2024
11 checks passed
@laggui laggui deleted the fix/module-derive/visibility branch December 13, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#[derive(Module)] Module[Record|Item] types are public even when the module isn't
1 participant