mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-10 07:33:53 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
212 B
Plaintext
9 lines
212 B
Plaintext
error: expected one of `!` or `::`, found keyword `let`
|
|
--> $DIR/public-instead-of-pub-2.rs:4:8
|
|
|
|
|
LL | public let x = 1;
|
|
| ^^^ expected one of `!` or `::`
|
|
|
|
error: aborting due to 1 previous error
|
|
|