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

Suppress dead_code lint in generated code #346

Merged
merged 2 commits into from
Jul 2, 2022
Merged

Suppress dead_code lint in generated code #346

merged 2 commits into from
Jul 2, 2022

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Jul 2, 2022

error: associated function `project` is never used
--> tests/no-core/../include/basic-safe-part.rs:3:1
|
3|#[::pin_project::pin_project]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`

@taiki-e
Copy link
Owner Author

taiki-e commented Jul 2, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 2, 2022

Build succeeded:

@bors bors bot merged commit 9e2cbf8 into main Jul 2, 2022
@bors bors bot deleted the dead_code branch July 2, 2022 11:12
bors bot added a commit that referenced this pull request Jul 2, 2022
347: 0.4: Suppress dead_code lint in generated code r=taiki-e a=taiki-e

backports #346

Co-authored-by: Taiki Endo <te316e89@gmail.com>
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.

None yet

1 participant