]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-inferred-type-1.stderr
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[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