]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/feature-gates/feature-gate-crate_in_paths.stderr
rustc_resolve: don't allow paths starting with `::crate`.
[rust.git] / src / test / ui / feature-gates / feature-gate-crate_in_paths.stderr
index 1d0eed5319874ac938b1f88b270d91034bca8bd5..32115ba2111b57368efb15ca6315ac3e91cfa011 100644 (file)
@@ -1,8 +1,8 @@
 error[E0658]: `crate` in paths is experimental (see issue #45477)
-  --> $DIR/feature-gate-crate_in_paths.rs:14:15
+  --> $DIR/feature-gate-crate_in_paths.rs:14:13
    |
-LL |     let _ = ::crate::S; //~ ERROR `crate` in paths is experimental
-   |               ^^^^^
+LL |     let _ = crate::S; //~ ERROR `crate` in paths is experimental
+   |             ^^^^^
    |
    = help: add #![feature(crate_in_paths)] to the crate attributes to enable