diff options
Diffstat (limited to 'src/test/ui/rust-2018/edition-lint-nested-paths.fixed')
| -rw-r--r-- | src/test/ui/rust-2018/edition-lint-nested-paths.fixed | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/rust-2018/edition-lint-nested-paths.fixed b/src/test/ui/rust-2018/edition-lint-nested-paths.fixed index 90e779e197f..7c6e4a71a37 100644 --- a/src/test/ui/rust-2018/edition-lint-nested-paths.fixed +++ b/src/test/ui/rust-2018/edition-lint-nested-paths.fixed @@ -5,7 +5,7 @@ use crate::foo::{a, b}; //~^ ERROR absolute paths must start with -//~| this is valid in the current edition +//~| this is accepted in the current edition mod foo { crate fn a() {} @@ -20,7 +20,7 @@ fn main() { { use crate::foo::{self as x, c}; //~^ ERROR absolute paths must start with - //~| this is valid in the current edition + //~| this is accepted in the current edition x::a(); c(); } |
