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

Remove private_in_public lint. #119

Closed

Conversation

egrimley-arm
Copy link
Collaborator

@egrimley-arm egrimley-arm commented Sep 28, 2023

The nightly CI test "cargo +nightly udeps --workspace" failed with:
lint private_in_public has been removed: replaced with another
group of lints, see RFC
https://rust-lang.github.io/rfcs/2145-type-privacy.html for more
information

But the replacement lints are not available with rustc 1.60.0 so just remove private_in_public for now.

BUT WAIT, DON'T MERGE THIS YET, because there's perhaps an alternative to consider; I think you can tell it to ignore unrecognised lints, which might be a better solution. Here's the alternative: #120

The nightly CI test "cargo +nightly udeps --workspace" failed with:
    lint `private_in_public` has been removed: replaced with another
    group of lints, see RFC
    <https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more
    information

But the replacement lints are not available with rustc 1.60.0 so just
remove private_in_public for now.

Signed-off-by: Edmund Grimley Evans <[email protected]>
@tgonzalezorlandoarm
Copy link
Member

I like the alternative better :)

@egrimley-arm egrimley-arm deleted the pr-private_in_public branch September 28, 2023 13:32
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.

2 participants