fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
829 B30 linesraw
1error: this file contains an unclosed delimiter
2  --> $DIR/missing-close-brace-in-impl-trait.rs:13:52
3   |
4LL | impl T for () {
5   |               - unclosed delimiter
6...
7LL |
8   |                                                    ^
9
10error: trait is not supported in `trait`s or `impl`s
11  --> $DIR/missing-close-brace-in-impl-trait.rs:7:1
12   |
13LL | trait T {
14   | ^^^^^^^
15
16error: struct is not supported in `trait`s or `impl`s
17  --> $DIR/missing-close-brace-in-impl-trait.rs:11:1
18   |
19LL | pub(crate) struct Bar<T>();
20   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
21
22error[E0405]: cannot find trait `T` in this scope
23  --> $DIR/missing-close-brace-in-impl-trait.rs:3:6
24   |
25LL | impl T for () {
26   |      ^ not found in this scope
27
28error: aborting due to 4 previous errors
29
30For more information about this error, try `rustc --explain E0405`.