]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2126-crate-paths/keyword-crate-as-identifier.stderr
tests: prefer edition: directives to compile-flags:--edition.
[rust.git] / src / test / ui / rfc-2126-crate-paths / keyword-crate-as-identifier.stderr
1 error[E0433]: failed to resolve. `crate` in paths can only be used in start position
2   --> $DIR/keyword-crate-as-identifier.rs:14:9
3    |
4 LL |     let crate = 0; //~ ERROR failed to resolve. `crate` in paths can only be used in start position
5    |         ^^^^^ `crate` in paths can only be used in start position
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0433`.