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,6 +8,9 @@
|
||||
// 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::*;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user