]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/issues/issue-87217-keyword-order/const-async-const.rs
3 // Test that even when `const` is already present, the proposed fix is to remove the second `const`
5 const async
const fn test() {}
6 //~^ ERROR expected one of `extern`, `fn`, or `unsafe`, found keyword `const`
7 //~| NOTE expected one of `extern`, `fn`, or `unsafe`
8 //~| HELP `const` already used earlier, remove this one
9 //~| NOTE `const` first seen here