#![feature(pub_restricted)] pub(crate) () fn foo() {} //~ unmatched visibility