heroku / libcnb.rs

A framework for writing Cloud Native Buildpacks in Rust
BSD 3-Clause "New" or "Revised" License
34 stars 6 forks source link

Enable the rustc `unreachable_pub` lint #748

Closed edmorley closed 9 months ago

edmorley commented 9 months ago

This lint enforces more explicit/correct use of pub vs pub(crate) for transitive types/fields/...

The majority of these changes were generated by cargo clippy --fix.

See: https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#unreachable-pub

GUS-W-14511805.