fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
449 B14 linesraw
1error: expected identifier, found keyword `const`
2  --> $DIR/opt-out-twice.rs:6:21
3   |
4LL | struct S<T: ?const ?const Tr>;
5   |                     ^^^^^ expected identifier, found keyword
6
7error: expected one of `(`, `+`, `,`, `::`, `<`, `=`, or `>`, found `Tr`
8  --> $DIR/opt-out-twice.rs:6:27
9   |
10LL | struct S<T: ?const ?const Tr>;
11   |                           ^^ expected one of 7 possible tokens
12
13error: aborting due to 2 previous errors
14