rust/tests/ui/pub/pub-restricted-non-path.rs
2023-01-11 09:32:08 +00:00

6 lines
93 B
Rust

#![feature(pub_restricted)]
pub (.) fn afn() {} //~ ERROR expected identifier
fn main() {}