]> git.lizzy.rs Git - rust.git/blob - 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
1 error[E0658]: `crate` in paths is experimental (see issue #45477)
2   --> $DIR/feature-gate-crate_in_paths.rs:14:13
3    |
4 LL |     let _ = crate::S; //~ ERROR `crate` in paths is experimental
5    |             ^^^^^
6    |
7    = help: add #![feature(crate_in_paths)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0658`.