]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2126-crate-paths/keyword-crate-as-identifier.stderr
Rollup merge of #55784 - meltinglava:master, r=KodrAus
[rust.git] / src / test / ui / rfc-2126-crate-paths / keyword-crate-as-identifier.stderr
1 error[E0532]: expected unit struct/variant or constant, found module `crate`
2   --> $DIR/keyword-crate-as-identifier.rs:14:9
3    |
4 LL |     let crate = 0;
5    |         ^^^^^ not a unit struct/variant or constant
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0532`.