mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-29 17:05:41 +00:00
commit
10de0d9898
@ -1063,7 +1063,7 @@ mod foo {
|
||||
extern crate core;
|
||||
|
||||
use foo::core::iter; // good: foo is at crate root
|
||||
// use core::iter; // bad: native is not at the crate root
|
||||
// use core::iter; // bad: core is not at the crate root
|
||||
use self::baz::foobaz; // good: self refers to module 'foo'
|
||||
use foo::bar::foobar; // good: foo is at crate root
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user