File: unevaluated-const-ice-119731.stderr

package info (click to toggle)
rustc 1.89.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 906,624 kB
  • sloc: xml: 158,148; python: 34,888; javascript: 19,595; sh: 19,221; ansic: 13,046; cpp: 7,144; asm: 4,376; makefile: 692; lisp: 174; sql: 15
file content (101 lines) | stat: -rw-r--r-- 4,010 bytes parent folder | download | duplicates (7)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
error[E0432]: unresolved import `v20::v13`
  --> $DIR/unevaluated-const-ice-119731.rs:38:15
   |
LL | pub use v20::{v13, v17};
   |               ^^^
   |               |
   |               no `v13` in `v20`
   |               help: a similar name exists in the module: `v11`

error[E0425]: cannot find value `v8` in this scope
  --> $DIR/unevaluated-const-ice-119731.rs:13:38
   |
LL |     const v0: [[usize; v4]; v4] = v6(v8);
   |                                      ^^ not found in this scope

error[E0412]: cannot find type `v18` in this scope
  --> $DIR/unevaluated-const-ice-119731.rs:23:31
   |
LL |     pub type v11 = [[usize; v4]; v4];
   |     --------------------------------- similarly named type alias `v11` defined here
...
LL |         pub const fn v21() -> v18 {}
   |                               ^^^ help: a type alias with a similar name exists: `v11`

error[E0412]: cannot find type `v18` in this scope
  --> $DIR/unevaluated-const-ice-119731.rs:31:31
   |
LL |     pub type v11 = [[usize; v4]; v4];
   |     --------------------------------- similarly named type alias `v11` defined here
...
LL |         pub const fn v21() -> v18 {
   |                               ^^^ help: a type alias with a similar name exists: `v11`

error[E0422]: cannot find struct, variant or union type `v18` in this scope
  --> $DIR/unevaluated-const-ice-119731.rs:33:13
   |
LL |     pub type v11 = [[usize; v4]; v4];
   |     --------------------------------- similarly named type alias `v11` defined here
...
LL |             v18 { _p: () }
   |             ^^^ help: a type alias with a similar name exists: `v11`

warning: type `v11` should have an upper camel case name
  --> $DIR/unevaluated-const-ice-119731.rs:9:14
   |
LL |     pub type v11 = [[usize; v4]; v4];
   |              ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V11`
   |
   = note: `#[warn(non_camel_case_types)]` on by default

warning: type `v17` should have an upper camel case name
  --> $DIR/unevaluated-const-ice-119731.rs:16:16
   |
LL |     pub struct v17<const v10: usize, const v7: v11> {
   |                ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V17`

error: `[[usize; v4]; v4]` is forbidden as the type of a const generic parameter
  --> $DIR/unevaluated-const-ice-119731.rs:16:48
   |
LL |     pub struct v17<const v10: usize, const v7: v11> {
   |                                                ^^^
   |
   = note: the only supported types are integers, `bool`, and `char`
help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types
   |
LL + #![feature(adt_const_params)]
   |

error[E0425]: cannot find function `v6` in this scope
  --> $DIR/unevaluated-const-ice-119731.rs:13:35
   |
LL |     const v0: [[usize; v4]; v4] = v6(v8);
   |                                   ^^ not found in this scope

error: maximum number of nodes exceeded in constant v20::v17::<v10, v2>::{constant#0}
  --> $DIR/unevaluated-const-ice-119731.rs:28:37
   |
LL |     impl<const v10: usize> v17<v10, v2> {
   |                                     ^^

error: maximum number of nodes exceeded in constant v20::v17::<v10, v2>::{constant#0}
  --> $DIR/unevaluated-const-ice-119731.rs:28:37
   |
LL |     impl<const v10: usize> v17<v10, v2> {
   |                                     ^^
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error[E0592]: duplicate definitions with name `v21`
  --> $DIR/unevaluated-const-ice-119731.rs:23:9
   |
LL |         pub const fn v21() -> v18 {}
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `v21`
...
LL |         pub const fn v21() -> v18 {
   |         ------------------------- other definition for `v21`

error: aborting due to 10 previous errors; 2 warnings emitted

Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0592.
For more information about an error, try `rustc --explain E0412`.