mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Merge pull request #1786 from euclio/globs
add test for root glob imports
This commit is contained in:
commit
b37e2664a6
@ -65,6 +65,10 @@ use ::foo::{Bar, Baz};
|
||||
use ::{Foo};
|
||||
use ::{Bar, Baz};
|
||||
|
||||
// Root globs
|
||||
use *;
|
||||
use ::*;
|
||||
|
||||
// spaces used to cause glob imports to disappear (#1356)
|
||||
use super:: * ;
|
||||
use foo::issue_1356:: * ;
|
||||
|
@ -60,6 +60,10 @@ use foo::{Bar, Baz};
|
||||
use Foo;
|
||||
use {Bar, Baz};
|
||||
|
||||
// Root globs
|
||||
use ::*;
|
||||
use ::*;
|
||||
|
||||
// spaces used to cause glob imports to disappear (#1356)
|
||||
use super::*;
|
||||
use foo::issue_1356::*;
|
||||
|
Loading…
Reference in New Issue
Block a user