fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
722 B28 linesraw
1error: this file contains an un-closed delimiter
2  --> $DIR/missing-close-brace-in-struct.rs:14:66
3   |
4LL | pub(crate) struct Bar<T> {
5   |                          - un-closed delimiter
6...
7LL | fn main() {}
8   |                                                                  ^
9
10error: expected identifier, found keyword `trait`
11  --> $DIR/missing-close-brace-in-struct.rs:4:1
12   |
13LL | trait T {
14   | ^^^^^ expected identifier, found keyword
15   |
16help: you can escape reserved keywords to use them as identifiers
17   |
18LL | r#trait T {
19   | ^^^^^^^
20
21error: expected `:`, found `T`
22  --> $DIR/missing-close-brace-in-struct.rs:4:7
23   |
24LL | trait T {
25   |       ^ expected `:`
26
27error: aborting due to 3 previous errors
28