fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types 2 --> $DIR/in-signature.rs:7:21 3 | 4LL | fn arr_fn() -> [u8; _] { 5 | -----^- 6 | | | 7 | | not allowed in type signatures 8 | help: replace with the correct return type: `[u8; 3]` 9 10error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types 11 --> $DIR/in-signature.rs:12:24 12 | 13LL | fn ty_fn() -> Bar<i32, _> { 14 | ---------^- 15 | | | 16 | | not allowed in type signatures 17 | help: replace with the correct return type: `Bar<i32, 3>` 18 19error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types 20 --> $DIR/in-signature.rs:17:25 21 | 22LL | fn ty_fn_mixed() -> Bar<_, _> { 23 | ----^--^- 24 | | | | 25 | | | not allowed in type signatures 26 | | not allowed in type signatures 27 | help: replace with the correct return type: `Bar<i32, 3>` 28 29error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants 30 --> $DIR/in-signature.rs:22:15 31 | 32LL | const ARR_CT: [u8; _] = [0; 3]; 33 | ^^^^^^^ not allowed in type signatures 34 35error[E0121]: the placeholder `_` is not allowed within types on item signatures for static variables 36 --> $DIR/in-signature.rs:24:20 37 | 38LL | static ARR_STATIC: [u8; _] = [0; 3]; 39 | ^^^^^^^ not allowed in type signatures 40 41error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants 42 --> $DIR/in-signature.rs:26:14 43 | 44LL | const TY_CT: Bar<i32, _> = Bar::<i32, 3>(0); 45 | ^^^^^^^^^^^ 46 | | 47 | not allowed in type signatures 48 | help: replace with the correct type: `Bar<i32, 3>` 49 50error[E0121]: the placeholder `_` is not allowed within types on item signatures for static variables 51 --> $DIR/in-signature.rs:28:19 52 | 53LL | static TY_STATIC: Bar<i32, _> = Bar::<i32, 3>(0); 54 | ^^^^^^^^^^^ 55 | | 56 | not allowed in type signatures 57 | help: replace with the correct type: `Bar<i32, 3>` 58 59error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants 60 --> $DIR/in-signature.rs:30:20 61 | 62LL | const TY_CT_MIXED: Bar<_, _> = Bar::<i32, 3>(0); 63 | ^^^^^^^^^ 64 | | 65 | not allowed in type signatures 66 | help: replace with the correct type: `Bar<i32, 3>` 67 68error[E0121]: the placeholder `_` is not allowed within types on item signatures for static variables 69 --> $DIR/in-signature.rs:32:25 70 | 71LL | static TY_STATIC_MIXED: Bar<_, _> = Bar::<i32, 3>(0); 72 | ^^^^^^^^^ 73 | | 74 | not allowed in type signatures 75 | help: replace with the correct type: `Bar<i32, 3>` 76 77error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated constants 78 --> $DIR/in-signature.rs:35:21 79 | 80LL | const ARR: [u8; _]; 81 | ^ not allowed in type signatures 82 83error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated constants 84 --> $DIR/in-signature.rs:39:25 85 | 86LL | const ARR: Bar<i32, _>; 87 | ^ not allowed in type signatures 88 89error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated constants 90 --> $DIR/in-signature.rs:43:20 91 | 92LL | const ARR: Bar<_, _>; 93 | ^ ^ not allowed in type signatures 94 | | 95 | not allowed in type signatures 96 97error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated types 98 --> $DIR/in-signature.rs:51:23 99 | 100LL | type Assoc = [u8; _]; 101 | ^ not allowed in type signatures 102 103error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated types 104 --> $DIR/in-signature.rs:55:27 105 | 106LL | type Assoc = Bar<i32, _>; 107 | ^ not allowed in type signatures 108 109error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated types 110 --> $DIR/in-signature.rs:59:22 111 | 112LL | type Assoc = Bar<_, _>; 113 | ^ ^ not allowed in type signatures 114 | | 115 | not allowed in type signatures 116 117error: aborting due to 15 previous errors 118 119For more information about this error, try `rustc --explain E0121`.