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