diff options
Diffstat (limited to 'src/test/ui/rust-2018/edition-lint-nested-empty-paths.rs')
| -rw-r--r-- | src/test/ui/rust-2018/edition-lint-nested-empty-paths.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/rust-2018/edition-lint-nested-empty-paths.rs b/src/test/ui/rust-2018/edition-lint-nested-empty-paths.rs index 677ef878490..d898daaba59 100644 --- a/src/test/ui/rust-2018/edition-lint-nested-empty-paths.rs +++ b/src/test/ui/rust-2018/edition-lint-nested-empty-paths.rs @@ -16,15 +16,15 @@ crate mod foo { use foo::{bar::{baz::{}}}; //~^ ERROR absolute paths must start with -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition use foo::{bar::{XX, baz::{}}}; //~^ ERROR absolute paths must start with -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition use foo::{bar::{baz::{}, baz1::{}}}; //~^ ERROR absolute paths must start with -//~| WARN this is valid in the current edition +//~| WARN this is accepted in the current edition fn main() { } |
