]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-44021.rs
Add inferred args to typeck
[rust.git] / src / test / ui / parser / issue-44021.rs
1 struct MyStruct;
2 impl MyStruct {
3     fn f() {|x, y} //~ ERROR expected one of `:`, `@`, or `|`, found `}`
4 }
5
6 fn main() {}