Rollup merge of #28674 - DenisKolodin:patch-2, r=sanxiyn

This commit is contained in:
Steve Klabnik 2015-09-26 18:00:38 -06:00
commit 692d9e97b1

View File

@ -881,7 +881,7 @@ mod foo {
}
use foo::example::iter; // good: foo is at crate root
// use example::iter; // bad: core is not at the crate root
// use example::iter; // bad: example 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