Fix tests that depended on loose visibility restriction

This commit is contained in:
Ryo Yoshida 2022-11-11 19:59:52 +09:00
parent e75afebeb2
commit 19306c070d
No known key found for this signature in database
GPG key ID: E25698A930586171
12 changed files with 90 additions and 89 deletions

View file

@ -1324,7 +1324,7 @@ fn foo() {
generate_function,
r"
mod bar {
mod baz {}
pub mod baz {}
}
fn foo() {
@ -1333,7 +1333,7 @@ fn foo() {
",
r"
mod bar {
mod baz {
pub mod baz {
pub(crate) fn my_fn() {
${0:todo!()}
}