mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
95a24c6ed4
This commit reverts a change made in #111425. It was believed that this change was necessary for implementing type privacy lints, but #111801 showed that it was not necessary. Quite opposite, the revert fixes some issues.
27 lines
739 B
Plaintext
27 lines
739 B
Plaintext
error: not in the table
|
|
--> $DIR/effective_visibilities_full_priv.rs:8:5
|
|
|
|
|
LL | struct Priv;
|
|
| ^^^^^^^^^^^
|
|
|
|
error: not in the table
|
|
--> $DIR/effective_visibilities_full_priv.rs:8:5
|
|
|
|
|
LL | struct Priv;
|
|
| ^^^^^^^^^^^
|
|
|
|
error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub(crate), ReachableThroughImplTrait: pub(crate)
|
|
--> $DIR/effective_visibilities_full_priv.rs:13:5
|
|
|
|
|
LL | pub fn foo() {}
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub(crate), ReachableThroughImplTrait: pub(crate)
|
|
--> $DIR/effective_visibilities_full_priv.rs:16:5
|
|
|
|
|
LL | impl crate::SemiPriv {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 4 previous errors
|
|
|