]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-76437-const-async-unsafe.stderr
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / ui / parser / issue-76437-const-async-unsafe.stderr
1 error: expected one of `extern` or `fn`, found keyword `pub`
2   --> $DIR/issue-76437-const-async-unsafe.rs:4:24
3    |
4 LL |     const async unsafe pub fn t() {}
5    |     -------------------^^^
6    |     |                  |
7    |     |                  expected one of `extern` or `fn`
8    |     help: visibility `pub` must come before `const async unsafe`: `pub const async unsafe`
9
10 error: aborting due to previous error
11