mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Fix tests that depended on loose visibility restriction
This commit is contained in:
parent
e75afebeb2
commit
19306c070d
12 changed files with 90 additions and 89 deletions
|
@ -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!()}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue