]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-20711-2.rs
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / issue-20711-2.rs
1 struct Foo;
2
3 impl Foo {
4     fn foo() {}
5
6     #[stable(feature = "rust1", since = "1.0.0")]
7 } //~ ERROR expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, or
8
9 fn main() {}