mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
Add test descriptions.
This commit is contained in:
parent
8e24091f98
commit
3d041bd46d
@ -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 {
|
||||
|
@ -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::*;
|
||||
|
Loading…
Reference in New Issue
Block a user