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
631 B23 linesraw
1error: this file contains an unclosed delimiter
2  --> $DIR/missing-close-brace-in-trait.rs:12:65
3   |
4LL | trait T {
5   |         - unclosed delimiter
6...
7LL | fn main() {}
8   |                                                                 ^
9
10error: struct is not supported in `trait`s or `impl`s
11  --> $DIR/missing-close-brace-in-trait.rs:4:1
12   |
13LL | pub(crate) struct Bar<T>();
14   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
16error: implementation is not supported in `trait`s or `impl`s
17  --> $DIR/missing-close-brace-in-trait.rs:7:1
18   |
19LL | impl T for Bar<usize> {
20   | ^^^^^^^^^^^^^^^^^^^^^
21
22error: aborting due to 3 previous errors
23