Skip to content

Reexporting types at a higher level doesn't work. #7780

Description

@mstewartgallus

Consider a module sync that's a module of the extra crate. Suppose one had sync.rs be the following (and there were appropriate file within the sync folder defining the submodules.)

pub use unlock::Unlock;
pub use arc::Arc;
pub use wait_queue::WaitQueue;
pub use condition::Condition;
pub use semaphore::Semaphore;

pub use mutex::Mutex;
pub use rwlock::RWLock;

pub use shared_mut::mutex_arc::MutexArc;
pub use shared_mut::rwarc::RWArc;

These types should be reexported as part of sync.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions