@@ -8,13 +8,13 @@ LL | pub use v20::{v13, v17};
8
8
| help: a similar name exists in the module: `v11`
9
9
10
10
error[E0425]: cannot find value `v8` in this scope
11
- --> $DIR/unevaluated-const-ice-119731.rs:13 :38
11
+ --> $DIR/unevaluated-const-ice-119731.rs:15 :38
12
12
|
13
13
LL | const v0: [[usize; v4]; v4] = v6(v8);
14
14
| ^^ not found in this scope
15
15
16
16
error[E0412]: cannot find type `v18` in this scope
17
- --> $DIR/unevaluated-const-ice-119731.rs:23 :31
17
+ --> $DIR/unevaluated-const-ice-119731.rs:25 :31
18
18
|
19
19
LL | pub type v11 = [[usize; v4]; v4];
20
20
| --------------------------------- similarly named type alias `v11` defined here
@@ -49,19 +49,19 @@ LL | pub type v11 = [[usize; v4]; v4];
49
49
= note: `#[warn(non_camel_case_types)]` on by default
50
50
51
51
warning: type `v17` should have an upper camel case name
52
- --> $DIR/unevaluated-const-ice-119731.rs:16 :16
52
+ --> $DIR/unevaluated-const-ice-119731.rs:18 :16
53
53
|
54
54
LL | pub struct v17<const v10: usize, const v7: v11> {
55
55
| ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V17`
56
56
57
57
error[E0425]: cannot find function `v6` in this scope
58
- --> $DIR/unevaluated-const-ice-119731.rs:13 :35
58
+ --> $DIR/unevaluated-const-ice-119731.rs:15 :35
59
59
|
60
60
LL | const v0: [[usize; v4]; v4] = v6(v8);
61
61
| ^^ not found in this scope
62
62
63
63
error: `[[usize; v4]; v4]` is forbidden as the type of a const generic parameter
64
- --> $DIR/unevaluated-const-ice-119731.rs:16 :48
64
+ --> $DIR/unevaluated-const-ice-119731.rs:18 :48
65
65
|
66
66
LL | pub struct v17<const v10: usize, const v7: v11> {
67
67
| ^^^
@@ -72,38 +72,22 @@ help: add `#![feature(adt_const_params)]` to the crate attributes to enable more
72
72
LL + #![feature(adt_const_params)]
73
73
|
74
74
75
- <<<<<<< HEAD
76
- error: maximum number of nodes exceeded in constant v20::v17::<v10, v2>::{constant#0}
77
- --> $DIR/unevaluated-const-ice-119731.rs:28:37
78
- ||||||| parent of 883a4baff18 (Begin to use `ConstArgKind::Path` for all paths, not just params)
79
- error: maximum number of nodes exceeded in constant v20::v17::<v10, v2>::{constant#0}
80
- --> $DIR/unevaluated-const-ice-119731.rs:27:37
81
- =======
82
75
error: maximum number of nodes exceeded in constant v20::v2
83
76
--> $DIR/unevaluated-const-ice-119731.rs:11:5
84
- >>>>>>> 883a4baff18 (Begin to use `ConstArgKind::Path` for all paths, not just params)
85
77
|
86
78
LL | const v2: v11 = [[256; v4]; v4];
87
79
| ^^^^^^^^^^^^^
88
80
89
- <<<<<<< HEAD
90
- error: maximum number of nodes exceeded in constant v20::v17::<v10, v2>::{constant#0}
91
- --> $DIR/unevaluated-const-ice-119731.rs:28:37
92
- ||||||| parent of 883a4baff18 (Begin to use `ConstArgKind::Path` for all paths, not just params)
93
- error: maximum number of nodes exceeded in constant v20::v17::<v10, v2>::{constant#0}
94
- --> $DIR/unevaluated-const-ice-119731.rs:27:37
95
- =======
96
81
error: maximum number of nodes exceeded in constant v20::v2
97
82
--> $DIR/unevaluated-const-ice-119731.rs:11:5
98
- >>>>>>> 883a4baff18 (Begin to use `ConstArgKind::Path` for all paths, not just params)
99
83
|
100
84
LL | const v2: v11 = [[256; v4]; v4];
101
85
| ^^^^^^^^^^^^^
102
86
|
103
87
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
104
88
105
89
error[E0592]: duplicate definitions with name `v21`
106
- --> $DIR/unevaluated-const-ice-119731.rs:23 :9
90
+ --> $DIR/unevaluated-const-ice-119731.rs:25 :9
107
91
|
108
92
LL | pub const fn v21() -> v18 {}
109
93
| ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `v21`
0 commit comments