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

Add some lints and allow(unknown_lints). #120

Merged

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

We leave the old lint for the benefit of old rustc versions and add some of the replacement lints, also adding #![allow(unknown_lints)].

This is an alternative to #119.

@tgonzalezorlandoarm
Copy link
Member

tgonzalezorlandoarm commented Sep 28, 2023

There are two other mentioned lints that I don't see here

  • unnameable_types
  • renamed_and_removed_lints

@tgonzalezorlandoarm
Copy link
Member

Pressed an incorrect enter, editted the comment

psa-crypto-sys/build.rs Show resolved Hide resolved
psa-crypto/src/lib.rs Show resolved Hide resolved
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

We leave the old lint for the benefit of old rustc versions and add
the replacement lints, also adding #![allow(unknown_lints)].

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

LGTM, thanks!

Copy link
Contributor

@gowthamsk-arm gowthamsk-arm left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks :)

@tgonzalezorlandoarm tgonzalezorlandoarm merged commit 45358c1 into parallaxsecond:main Sep 28, 2023
@egrimley-arm egrimley-arm deleted the pr-private_in_public2 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.

3 participants