]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pub/pub-restricted-non-path.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / pub / pub-restricted-non-path.rs
1 #![feature(pub_restricted)]
2
3 pub (.) fn afn() {} //~ ERROR expected identifier
4
5 fn main() {}