]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-20711-2.rs
Account for cases where we can find the type arg name, but the local name is `_`
[rust.git] / src / test / ui / parser / issue-20711-2.rs
1 // ignore-tidy-linelength
2
3 struct Foo;
4
5 impl Foo {
6     fn foo() {}
7
8     #[stable(feature = "rust1", since = "1.0.0")]
9 } //~ ERROR expected one of `async`, `const`, `crate`, `default`, `existential`, `extern`, `fn`, `pub`, `type`, or
10
11 fn main() {}