Adjust some pub
s.
This commit is contained in:
parent
8dc84fa7d1
commit
30d6f63b4e
32 changed files with 81 additions and 81 deletions
|
@ -20,7 +20,7 @@ use thin_vec::{thin_vec, ThinVec};
|
|||
///
|
||||
/// We mark item with an inert attribute "rustc_test_marker" which the test generation
|
||||
/// logic will pick up on.
|
||||
pub fn expand_test_case(
|
||||
pub(crate) fn expand_test_case(
|
||||
ecx: &mut ExtCtxt<'_>,
|
||||
attr_sp: Span,
|
||||
meta_item: &ast::MetaItem,
|
||||
|
@ -73,7 +73,7 @@ pub fn expand_test_case(
|
|||
vec![ret]
|
||||
}
|
||||
|
||||
pub fn expand_test(
|
||||
pub(crate) fn expand_test(
|
||||
cx: &mut ExtCtxt<'_>,
|
||||
attr_sp: Span,
|
||||
meta_item: &ast::MetaItem,
|
||||
|
@ -84,7 +84,7 @@ pub fn expand_test(
|
|||
expand_test_or_bench(cx, attr_sp, item, false)
|
||||
}
|
||||
|
||||
pub fn expand_bench(
|
||||
pub(crate) fn expand_bench(
|
||||
cx: &mut ExtCtxt<'_>,
|
||||
attr_sp: Span,
|
||||
meta_item: &ast::MetaItem,
|
||||
|
@ -95,7 +95,7 @@ pub fn expand_bench(
|
|||
expand_test_or_bench(cx, attr_sp, item, true)
|
||||
}
|
||||
|
||||
pub fn expand_test_or_bench(
|
||||
pub(crate) fn expand_test_or_bench(
|
||||
cx: &ExtCtxt<'_>,
|
||||
attr_sp: Span,
|
||||
item: Annotatable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue