summaryrefslogtreecommitdiffstats
path: root/src/test/ui/pub/pub-restricted-non-path.rs
blob: bdad18dbe65353057d4454939ef1de847b8cb4e8 (plain)
1
2
3
4
5
#![feature(pub_restricted)]

pub (.) fn afn() {} //~ ERROR expected identifier

fn main() {}