summaryrefslogtreecommitdiffstats
path: root/src/test/ui/pub/pub-restricted-error.stderr
blob: b47328f34e6ebda21e4aa96ca1273e22019e8df8 (plain)
1
2
3
4
5
6
7
8
9
10
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