summaryrefslogtreecommitdiffstats
path: root/tests/ui/extern-flag/public-and-private.stderr
blob: 9dfc10effcf1fa5dfaca4a99809fa72800b00ef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: type `S` from private dependency 'somedep' in public interface
  --> $DIR/public-and-private.rs:10:5
   |
LL |     pub field: somedep::S,
   |     ^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/public-and-private.rs:5:9
   |
LL | #![deny(exported_private_dependencies)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error