fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: `const` keyword was mistyped as `Const` 2 --> $DIR/typod-const-in-const-param-def.rs:1:12 3 | 4LL | pub fn foo<Const N: u8>() {} 5 | ^^^^^ 6 | 7help: use the `const` keyword 8 | 9LL | pub fn foo<const N: u8>() {} 10 | ~~~~~ 11 12error: `const` keyword was mistyped as `Const` 13 --> $DIR/typod-const-in-const-param-def.rs:7:12 14 | 15LL | pub fn baz<Const N: u8, T>() {} 16 | ^^^^^ 17 | 18help: use the `const` keyword 19 | 20LL | pub fn baz<const N: u8, T>() {} 21 | ~~~~~ 22 23error: `const` keyword was mistyped as `Const` 24 --> $DIR/typod-const-in-const-param-def.rs:10:15 25 | 26LL | pub fn qux<T, Const N: u8>() {} 27 | ^^^^^ 28 | 29help: use the `const` keyword 30 | 31LL | pub fn qux<T, const N: u8>() {} 32 | ~~~~~ 33 34error: `const` keyword was mistyped as `Const` 35 --> $DIR/typod-const-in-const-param-def.rs:13:16 36 | 37LL | pub fn quux<T, Const N: u8, U>() {} 38 | ^^^^^ 39 | 40help: use the `const` keyword 41 | 42LL | pub fn quux<T, const N: u8, U>() {} 43 | ~~~~~ 44 45error: aborting due to 4 previous errors 46