mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
10 lines
137 B
Rust
10 lines
137 B
Rust
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
|
|
}
|