mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
11 lines
260 B
Plaintext
11 lines
260 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 previous error
|
|
|