diff --git a/tests/source/fn-simple.rs b/tests/source/fn-simple.rs index 528b9a0292a..12a50c013a9 100644 --- a/tests/source/fn-simple.rs +++ b/tests/source/fn-simple.rs @@ -63,7 +63,7 @@ mod foo { // #2082 pub(crate) fn init() {} -crate fn init() {} +pub(crate) fn init() {} // #2630 fn make_map String)>(records: &Vec, key_fn: F) -> HashMap {} diff --git a/tests/source/pub-restricted.rs b/tests/source/pub-restricted.rs index 30051fa72ee..5683acbf3aa 100644 --- a/tests/source/pub-restricted.rs +++ b/tests/source/pub-restricted.rs @@ -24,19 +24,6 @@ pub( crate ) enum WriteState { WriteData(Writer), } - crate enum WriteState { - WriteId { - id: U64Writer, - size: U64Writer, - payload: Option>, - }, - WriteSize { - size: U64Writer, - payload: Option>, - }, - WriteData(Writer), -} - pub(in ::global:: path :: to::some_mod ) enum WriteState { WriteId { id: U64Writer, diff --git a/tests/target/fn-simple.rs b/tests/target/fn-simple.rs index 692739fa6a9..e725269360d 100644 --- a/tests/target/fn-simple.rs +++ b/tests/target/fn-simple.rs @@ -105,7 +105,7 @@ mod foo { // #2082 pub(crate) fn init() {} -crate fn init() {} +pub(crate) fn init() {} // #2630 fn make_map String)>(records: &Vec, key_fn: F) -> HashMap {} diff --git a/tests/target/pub-restricted.rs b/tests/target/pub-restricted.rs index 8cc2ade612a..0e178ef1013 100644 --- a/tests/target/pub-restricted.rs +++ b/tests/target/pub-restricted.rs @@ -24,19 +24,6 @@ pub(crate) enum WriteState { WriteData(Writer), } -crate enum WriteState { - WriteId { - id: U64Writer, - size: U64Writer, - payload: Option>, - }, - WriteSize { - size: U64Writer, - payload: Option>, - }, - WriteData(Writer), -} - pub(in global::path::to::some_mod) enum WriteState { WriteId { id: U64Writer,