rust/tests/ui/pub/pub-restricted-error.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

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