fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0061]: this function takes 3 arguments but 1 argument was supplied 2 --> $DIR/issue-100478.rs:34:5 3 | 4LL | three_diff(T2::new(0)); 5 | ^^^^^^^^^^------------ 6 | || 7 | |an argument of type `T1` is missing 8 | an argument of type `T3` is missing 9 | 10note: function defined here 11 --> $DIR/issue-100478.rs:30:4 12 | 13LL | fn three_diff(_a: T1, _b: T2, _c: T3) {} 14 | ^^^^^^^^^^ ------ ------ ------ 15help: provide the arguments 16 | 17LL | three_diff(/* T1 */, T2::new(0), /* T3 */); 18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 20error[E0308]: arguments to this function are incorrect 21 --> $DIR/issue-100478.rs:35:5 22 | 23LL | four_shuffle(T3::default(), T4::default(), T1::default(), T2::default()); 24 | ^^^^^^^^^^^^ ------------- ------------- ------------- ------------- expected `T4`, found `T2` 25 | | | | 26 | | | expected `T3`, found `T1` 27 | | expected `T2`, found `T4` 28 | expected `T1`, found `T3` 29 | 30note: function defined here 31 --> $DIR/issue-100478.rs:31:4 32 | 33LL | fn four_shuffle(_a: T1, _b: T2, _c: T3, _d: T4) {} 34 | ^^^^^^^^^^^^ ------ ------ ------ ------ 35help: did you mean 36 | 37LL | four_shuffle(T1::default(), T2::default(), T3::default(), T4::default()); 38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 40error[E0308]: arguments to this function are incorrect 41 --> $DIR/issue-100478.rs:36:5 42 | 43LL | four_shuffle(T3::default(), T2::default(), T1::default(), T3::default()); 44 | ^^^^^^^^^^^^ ------------- ------------- ------------- expected `T4`, found `T3` 45 | | | 46 | | expected `T3`, found `T1` 47 | expected `T1`, found `T3` 48 | 49note: function defined here 50 --> $DIR/issue-100478.rs:31:4 51 | 52LL | fn four_shuffle(_a: T1, _b: T2, _c: T3, _d: T4) {} 53 | ^^^^^^^^^^^^ ------ ------ ------ ------ 54help: swap these arguments 55 | 56LL | four_shuffle(T1::default(), T2::default(), T3::default(), /* T4 */); 57 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 59error[E0061]: this function takes 8 arguments but 7 arguments were supplied 60 --> $DIR/issue-100478.rs:47:5 61 | 62LL | foo( 63 | ^^^ 64... 65LL | p3, p4, p5, p6, p7, p8, 66 | -- an argument of type `Arc<T2>` is missing 67 | 68note: function defined here 69 --> $DIR/issue-100478.rs:29:4 70 | 71LL | fn foo(p1: T1, p2: Arc<T2>, p3: T3, p4: Arc<T4>, p5: T5, p6: T6, p7: T7, p8: Arc<T8>) {} 72 | ^^^ ------ ----------- ------ ----------- ------ ------ ------ ----------- 73help: provide the argument 74 | 75LL | foo(p1, /* Arc<T2> */, p3, p4, p5, p6, p7, p8); 76 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 78error: aborting due to 4 previous errors 79 80Some errors have detailed explanations: E0061, E0308. 81For more information about an error, try `rustc --explain E0061`.