rust/tests/ui/argument-suggestions/issue-109831.rs

10 lines
137 B
Rust
Raw Normal View History

2023-04-01 21:48:01 -05:00
struct A;
struct B;
fn f(b1: B, b2: B, a2: C) {} //~ ERROR E0412
fn main() {
f(A, A, B, C); //~ ERROR E0425
//~^ ERROR E0061
}