1 2 3 4 5 6 7
// edition:2018 mod t { unsafe pub(crate) fn t() {} //~^ ERROR expected one of `extern` or `fn`, found keyword `pub` //~| HELP visibility `pub(crate)` must come before `unsafe` }