-
Notifications
You must be signed in to change notification settings - Fork 13.3k
/
Copy pathimpl-on-weird-projection.stderr
76 lines (74 loc) · 3.74 KB
/
impl-on-weird-projection.stderr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
error[E0391]: cycle detected when finding all inherent impls defined in crate
|
= note: ...which requires normalizing `<I8<{i8::MIN}> as Identity>::Identity`...
note: ...which requires evaluating type-level constant...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires const-evaluating + checking `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires const-evaluating + checking `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires caching MIR for CTFE of the const argument `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires elaborating drops for `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires borrow-checking the const argument`<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires processing MIR for the const argument `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires const checking the const argument `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires preparing the const argument `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}` for borrow checking...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires unsafety-checking the const argument `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires building MIR for `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires building THIR for `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
note: ...which requires type-checking the const argument `<impl at $DIR/impl-on-weird-projection.rs:14:1: 14:43>::{constant#0}`...
--> $DIR/impl-on-weird-projection.rs:14:10
|
LL | impl <I8<{i8::MIN}> as Identity>::Identity {
| ^^^^^^^^^
= note: ...which requires collecting all inherent impls for `IntSimplifiedType(I8)`...
= note: ...which requires collecting all impls for a type in a crate...
= note: ...which again requires finding all inherent impls defined in crate, completing the cycle
= note: cycle used when running analysis passes on this crate
error: aborting due to previous error
For more information about this error, try `rustc --explain E0391`.