summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-86895.rs
blob: 4cd09843107dd8c6066bab733f46ffb1fdfce276 (plain)
1
2
3
const pub () {}
//~^ ERROR expected one of `async`, `extern`, `fn`, or `unsafe`
pub fn main() {}