]> git.lizzy.rs Git - rust.git/blob - src/test/ui/fn-in-pat.stderr
Auto merge of #60065 - QuietMisdreavus:async-move-doctests, r=ollie27
[rust.git] / src / test / ui / fn-in-pat.stderr
1 error[E0164]: expected tuple struct/variant, found method `<A>::new`
2   --> $DIR/fn-in-pat.rs:11:9
3    |
4 LL |         A::new() => (),
5    |         ^^^^^^^^ not a tuple variant or struct
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0164`.