|
1 | 1 | error[E0601]: `main` function not found in crate `issue_109768` |
2 | | - --> $DIR/issue-109768.rs:11:2 |
| 2 | + --> $DIR/issue-109768.rs:12:2 |
3 | 3 | | |
4 | 4 | LL | } |
5 | 5 | | ^ consider adding a `main` function to `$DIR/issue-109768.rs` |
@@ -29,7 +29,23 @@ LL | type AssocType3 = T; |
29 | 29 | = note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information |
30 | 30 | = help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable |
31 | 31 |
|
32 | | -error: aborting due to 3 previous errors |
| 32 | +error[E0061]: this struct takes 1 argument but 0 arguments were supplied |
| 33 | + --> $DIR/issue-109768.rs:10:56 |
| 34 | + | |
| 35 | +LL | const WRAPPED_ASSOC_3: Wrapper<Self::AssocType3> = Wrapper(); |
| 36 | + | ^^^^^^^-- an argument is missing |
| 37 | + | |
| 38 | +note: tuple struct defined here |
| 39 | + --> $DIR/issue-109768.rs:3:8 |
| 40 | + | |
| 41 | +LL | struct Wrapper<T>(T); |
| 42 | + | ^^^^^^^ |
| 43 | +help: provide the argument |
| 44 | + | |
| 45 | +LL | const WRAPPED_ASSOC_3: Wrapper<Self::AssocType3> = Wrapper(/* value */); |
| 46 | + | ~~~~~~~~~~~~~ |
| 47 | + |
| 48 | +error: aborting due to 4 previous errors |
33 | 49 |
|
34 | | -Some errors have detailed explanations: E0107, E0601, E0658. |
35 | | -For more information about an error, try `rustc --explain E0107`. |
| 50 | +Some errors have detailed explanations: E0061, E0107, E0601, E0658. |
| 51 | +For more information about an error, try `rustc --explain E0061`. |
0 commit comments