aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0042_ufcs_call_list.rs
blob: 6c02e65ed7dbf59f5cd92b9ccce1ea89c462728f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// https://github.com/rust-analyzer/rust-analyzer/issues/596

struct Foo;

impl Foo {
    fn bar() -> bool {
        unimplemented!()
    }
}

fn baz(_: bool) {}

fn main() {
    baz(<Foo>::bar())
}