fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
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 | 16 = help: consider moving the trait out to a nearby module scope 17 18error: struct is not supported in `trait`s or `impl`s 19 --> $DIR/missing-close-brace-in-impl-trait.rs:11:1 20 | 21LL | pub(crate) struct Bar<T>(); 22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 23 | 24 = help: consider moving the struct out to a nearby module scope 25 26error[E0405]: cannot find trait `T` in this scope 27 --> $DIR/missing-close-brace-in-impl-trait.rs:3:6 28 | 29LL | impl T for () { 30 | ^ not found in this scope 31 32error: aborting due to 4 previous errors 33 34For more information about this error, try `rustc --explain E0405`.