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

librustc: Have destructor run for unit-like structs. #6889

Merged
merged 1 commit into from
Jun 1, 2013

Conversation

luqmana
Copy link
Member

@luqmana luqmana commented Jun 1, 2013

Fixes #6861

bors added a commit that referenced this pull request Jun 1, 2013
@bors bors closed this Jun 1, 2013
@bors bors merged commit 64759c9 into rust-lang:incoming Jun 1, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 25, 2021
Refactor unit types

Ref:  rust-lang#6724
r? `@flip1995`

Changes:
1. Extract `unit_types` from `types` group.
2. Move lints of `unit_types` to their own modules.

Notes:
Other lints of `unit_types` is still scattered around the `clippy_lints`, e.g. `result_unit_err` or `option_map_unit_fn`.
These should be addressed in another PR.

changelog: none
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.

3 participants