@@ -8,13 +8,13 @@ LL | pub use v20::{v13, v17};
88 | help: a similar name exists in the module: `v11`
99
1010error[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
1212 |
1313LL | const v0: [[usize; v4]; v4] = v6(v8);
1414 | ^^ not found in this scope
1515
1616error[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
1818 |
1919LL | pub type v11 = [[usize; v4]; v4];
2020 | --------------------------------- similarly named type alias `v11` defined here
@@ -49,19 +49,19 @@ LL | pub type v11 = [[usize; v4]; v4];
4949 = note: `#[warn(non_camel_case_types)]` on by default
5050
5151warning: 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
5353 |
5454LL | pub struct v17<const v10: usize, const v7: v11> {
5555 | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V17`
5656
5757error[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
5959 |
6060LL | const v0: [[usize; v4]; v4] = v6(v8);
6161 | ^^ not found in this scope
6262
6363error: `[[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
6565 |
6666LL | pub struct v17<const v10: usize, const v7: v11> {
6767 | ^^^
@@ -72,38 +72,22 @@ help: add `#![feature(adt_const_params)]` to the crate attributes to enable more
7272LL + #![feature(adt_const_params)]
7373 |
7474
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- =======
8275error: maximum number of nodes exceeded in constant v20::v2
8376 --> $DIR/unevaluated-const-ice-119731.rs:11:5
84- >>>>>>> 883a4baff18 (Begin to use `ConstArgKind::Path` for all paths, not just params)
8577 |
8678LL | const v2: v11 = [[256; v4]; v4];
8779 | ^^^^^^^^^^^^^
8880
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- =======
9681error: maximum number of nodes exceeded in constant v20::v2
9782 --> $DIR/unevaluated-const-ice-119731.rs:11:5
98- >>>>>>> 883a4baff18 (Begin to use `ConstArgKind::Path` for all paths, not just params)
9983 |
10084LL | const v2: v11 = [[256; v4]; v4];
10185 | ^^^^^^^^^^^^^
10286 |
10387 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
10488
10589error[E0592]: duplicate definitions with name `v21`
106- --> $DIR/unevaluated-const-ice-119731.rs:23 :9
90+ --> $DIR/unevaluated-const-ice-119731.rs:25 :9
10791 |
10892LL | pub const fn v21() -> v18 {}
10993 | ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `v21`
0 commit comments