Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
parser
/
issues
/
issue-87694-misplaced-pub.rs
blob: 3f824617cade1288e4fd107c397a6642016fb2f5 [
file
] [
log
] [
blame
]
const
pub
fn
test
()
{}
//~^ ERROR expected one of `async`, `extern`, `fn`, or `unsafe`, found keyword `pub`
//~| NOTE expected one of `async`, `extern`, `fn`, or `unsafe`
//~| HELP visibility `pub` must come before `const`
//~| SUGGESTION pub const