Skip to content

Don't "pub use" modules that contain no public surface area #801

@jhendrixMSFT

Description

@jhendrixMSFT

When building https://github.com/Azure/azure-rest-api-specs/tree/main/specification/schemaregistry/data-plane/SchemaRegistry

In models/mod.rs:

...
pub use header_traits::*;
pub use method_options::*;
...

The above modules don't contain any public surface area, i.e. all contents are pub(crate).

Metadata

Metadata

Assignees

Labels

CodeGenIssues that relate to code generation

Type

No type

Projects

Status

Untriaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions