]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-inferred-type-1.stderr
Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree
[rust.git] / src / test / ui / privacy / private-inferred-type-1.stderr
1 error: type `Priv` is private
2   --> $DIR/private-inferred-type-1.rs:16:5
3    |
4 LL |     [].arr0_secret();
5    |     ^^^^^^^^^^^^^^^^ private type
6
7 error: type `Priv` is private
8   --> $DIR/private-inferred-type-1.rs:17:5
9    |
10 LL |     None.ty_param_secret();
11    |     ^^^^^^^^^^^^^^^^^^^^^^ private type
12
13 error: aborting due to 2 previous errors
14