]> git.lizzy.rs Git - rust.git/blob - crates/parser/test_data/parser/ok/0042_ufcs_call_list.rs
Merge #11461
[rust.git] / crates / parser / test_data / parser / ok / 0042_ufcs_call_list.rs
1 // https://github.com/rust-analyzer/rust-analyzer/issues/596
2
3 struct Foo;
4
5 impl Foo {
6     fn bar() -> bool {
7         unimplemented!()
8     }
9 }
10
11 fn baz(_: bool) {}
12
13 fn main() {
14     baz(<Foo>::bar())
15 }