Skip to content

Unresolved import in glob imported modules #32089

Description

@KyleMayes

The latest nightly broke some imports in my project that were working previously.

Here is a minimal example (spread out over three files):

// src/lib.rs

mod one;
pub use self::one::*;

mod two;
pub use self::two::*;

pub type Type = i32;
// src/one.rs

use super::{Type};
// src/two.rs

use super::{Type};

The issue is only when there is more than one of these types of imports. I'm not sure if this is a bug or I have been relying on incorrect behavior until now.

Meta

rustc 1.9.0-nightly (52e0bda64 2016-03-05)
binary: rustc
commit-hash: 52e0bda644823089f16795cc9e071cf827b4810b
commit-date: 2016-03-05
host: x86_64-unknown-linux-gnu
release: 1.9.0-nightly

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions