Remove crate visibility modifier

This commit is contained in:
Ryo Yoshida 2023-07-15 23:55:57 +09:00
parent 789dfd2a25
commit 004971f3f0
No known key found for this signature in database
GPG key ID: E25698A930586171
6 changed files with 40 additions and 157 deletions

View file

@ -6,7 +6,6 @@ fn vis() {
check(PrefixEntryPoint::Vis, "fn foo() {}", "");
check(PrefixEntryPoint::Vis, "pub(fn foo() {}", "pub");
check(PrefixEntryPoint::Vis, "pub(crate fn foo() {}", "pub(crate");
check(PrefixEntryPoint::Vis, "crate fn foo() {}", "crate");
}
#[test]