Skip to content

uses in crate root shadow crates in inner modules #12612

Closed
@mind-zz

Description

@mind-zz
extern crate sync;
use std::sync;

mod inner {  use sync::RWArc;  }

rustc errors:

foo.rs:4:17: 4:28 error: unresolved import: there is no RWArc in std::sync

(rustc 0.10-pre (6720977 2014-02-24 04:11:53 -0800))

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyP-mediumMedium priority

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions