]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/private-inferred-type-1.stderr
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / 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