]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/trait-pub-method.rs
Rollup merge of #57950 - QuietMisdreavus:lifetime-err-desc, r=estebank
[rust.git] / src / test / ui / parser / trait-pub-method.rs
1 trait Foo {
2     pub fn foo();
3     //~^ ERROR expected one of `async`, `const`, `extern`, `fn`, `type`, `unsafe`, or `}`, found
4 }
5
6 fn main() {}