Skip to content

Commit

Permalink
Add test descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
elinorbgr committed Aug 6, 2015
1 parent 8e24091 commit 3d041bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/test/run-pass/issue-4865-2.rs
Expand Up @@ -8,6 +8,12 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// Previously, this would have failed to resolve due to the circular
// block between `use say` and `pub use hello::*`.
//
// Now, as `use say` is not `pub`, the glob import can resolve
// without any problem and this resolves fine.

pub use hello::*;

pub mod say {
Expand Down
7 changes: 5 additions & 2 deletions src/test/run-pass/issue-4865-3.rs
Expand Up @@ -8,12 +8,15 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// This should resolve fine even with the circular imports as
// they are not `pub`.

pub mod a {
use b::*;
use b::*;
}

pub mod b {
use a::*;
use a::*;
}

use a::*;
Expand Down

0 comments on commit 3d041bd

Please sign in to comment.