|
1 |
| -error[E0601]: `main` function not found in crate `cycle_iat_inside_of_adt` |
2 |
| - --> $DIR/cycle-iat-inside-of-adt.rs:10:2 |
3 |
| - | |
4 |
| -LL | } |
5 |
| - | ^ consider adding a `main` function to `$DIR/cycle-iat-inside-of-adt.rs` |
6 |
| - |
7 | 1 | error[E0391]: cycle detected when computing predicates of `Foo`
|
8 |
| - --> $DIR/cycle-iat-inside-of-adt.rs:5:1 |
| 2 | + --> $DIR/cycle-iat-inside-of-adt.rs:7:1 |
9 | 3 | |
|
10 | 4 | LL | struct Foo {
|
11 | 5 | | ^^^^^^^^^^
|
12 | 6 | |
|
13 | 7 | note: ...which requires computing predicates of `Foo`...
|
14 |
| - --> $DIR/cycle-iat-inside-of-adt.rs:5:1 |
| 8 | + --> $DIR/cycle-iat-inside-of-adt.rs:7:1 |
15 | 9 | |
|
16 | 10 | LL | struct Foo {
|
17 | 11 | | ^^^^^^^^^^
|
18 | 12 | note: ...which requires computing inferred outlives predicates of `Foo`...
|
19 |
| - --> $DIR/cycle-iat-inside-of-adt.rs:5:1 |
| 13 | + --> $DIR/cycle-iat-inside-of-adt.rs:7:1 |
20 | 14 | |
|
21 | 15 | LL | struct Foo {
|
22 | 16 | | ^^^^^^^^^^
|
23 | 17 | = note: ...which requires computing the inferred outlives predicates for items in this crate...
|
24 | 18 | note: ...which requires computing type of `Foo::bar`...
|
25 |
| - --> $DIR/cycle-iat-inside-of-adt.rs:6:5 |
| 19 | + --> $DIR/cycle-iat-inside-of-adt.rs:8:5 |
26 | 20 | |
|
27 | 21 | LL | bar: Self::Bar,
|
28 | 22 | | ^^^^^^^^^^^^^^
|
29 | 23 | note: ...which requires computing normalized predicates of `Foo`...
|
30 |
| - --> $DIR/cycle-iat-inside-of-adt.rs:5:1 |
| 24 | + --> $DIR/cycle-iat-inside-of-adt.rs:7:1 |
31 | 25 | |
|
32 | 26 | LL | struct Foo {
|
33 | 27 | | ^^^^^^^^^^
|
34 | 28 | = note: ...which again requires computing predicates of `Foo`, completing the cycle
|
35 | 29 | note: cycle used when collecting item types in top-level module
|
36 |
| - --> $DIR/cycle-iat-inside-of-adt.rs:5:1 |
37 |
| - | |
38 |
| -LL | / struct Foo { |
39 |
| -LL | | bar: Self::Bar, |
40 |
| -LL | | } |
41 |
| -LL | | impl Foo { |
42 |
| -LL | | pub type Bar = usize; |
43 |
| -LL | | } |
44 |
| - | |_^ |
| 30 | + --> $DIR/cycle-iat-inside-of-adt.rs:3:1 |
| 31 | + | |
| 32 | +LL | / #![feature(inherent_associated_types)] |
| 33 | +LL | | #![allow(incomplete_features)] |
| 34 | +LL | | // FIXME(inherent_associated_types): This should pass. |
| 35 | +LL | | |
| 36 | +... | |
| 37 | +LL | | |
| 38 | +LL | | fn main() {} |
| 39 | + | |____________^ |
45 | 40 |
|
46 |
| -error: aborting due to 2 previous errors |
| 41 | +error: aborting due to previous error |
47 | 42 |
|
48 |
| -Some errors have detailed explanations: E0391, E0601. |
49 |
| -For more information about an error, try `rustc --explain E0391`. |
| 43 | +For more information about this error, try `rustc --explain E0391`. |
0 commit comments