fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0533]: expected unit struct/variant or constant, found method `<Foo>::bar` 2 --> $DIR/method-path-in-pattern.rs:15:9 3 | 4LL | Foo::bar => {} 5 | ^^^^^^^^ 6 7error[E0533]: expected unit struct/variant or constant, found method `<Foo>::bar` 8 --> $DIR/method-path-in-pattern.rs:19:9 9 | 10LL | <Foo>::bar => {} 11 | ^^^^^^^^^^ 12 13error[E0533]: expected unit struct/variant or constant, found method `<Foo>::trait_bar` 14 --> $DIR/method-path-in-pattern.rs:23:9 15 | 16LL | <Foo>::trait_bar => {} 17 | ^^^^^^^^^^^^^^^^ 18 19error: aborting due to 3 previous errors 20