Skip to content

Allow unused FieldReader #467

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

Merged

Conversation

couchand
Copy link
Contributor

I'm developing code that's general across AVR chips. I'd like to depend on the shared parts of Rahix/avr-device (see Rahix/avr-device#44). When compiling without any specific device feature enabled, there are no users of the FieldReader::new method. This PR skips the lint for this case.

This is somewhat related to #427 but not exactly.

@couchand couchand requested a review from a team as a code owner August 14, 2020 17:34
@rust-highfive
Copy link

r? @burrbull

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-tools labels Aug 14, 2020
Copy link
Contributor

@therealprof therealprof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

bors r+

@bors bors bot merged commit 5b392b4 into rust-embedded:master Aug 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants