mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
262 B
Plaintext
11 lines
262 B
Plaintext
error: expected identifier, found `(`
|
|
--> $DIR/pub-restricted-error.rs:4:16
|
|
|
|
|
LL | struct Foo {
|
|
| --- while parsing this struct
|
|
LL | pub(crate) () foo: usize,
|
|
| ^ expected identifier
|
|
|
|
error: aborting due to 1 previous error
|
|
|