@@ -82,54 +82,5 @@ LL | | u64::MAX + 1,
82
82
LL | | );
83
83
| |_______^
84
84
85
- error[E0080]: erroneous constant used
86
- --> $DIR/const-eval-overflow2b.rs:63:5
87
- |
88
- LL | foo(VALS_I8); //~ ERROR erroneous constant used
89
- | ^^^^^^^^^^^^ referenced constant has errors
90
-
91
- error[E0080]: erroneous constant used
92
- --> $DIR/const-eval-overflow2b.rs:64:5
93
- |
94
- LL | foo(VALS_I16); //~ ERROR erroneous constant used
95
- | ^^^^^^^^^^^^^ referenced constant has errors
96
-
97
- error[E0080]: erroneous constant used
98
- --> $DIR/const-eval-overflow2b.rs:65:5
99
- |
100
- LL | foo(VALS_I32); //~ ERROR erroneous constant used
101
- | ^^^^^^^^^^^^^ referenced constant has errors
102
-
103
- error[E0080]: erroneous constant used
104
- --> $DIR/const-eval-overflow2b.rs:66:5
105
- |
106
- LL | foo(VALS_I64); //~ ERROR erroneous constant used
107
- | ^^^^^^^^^^^^^ referenced constant has errors
108
-
109
- error[E0080]: erroneous constant used
110
- --> $DIR/const-eval-overflow2b.rs:68:5
111
- |
112
- LL | foo(VALS_U8); //~ ERROR erroneous constant used
113
- | ^^^^^^^^^^^^ referenced constant has errors
114
-
115
- error[E0080]: erroneous constant used
116
- --> $DIR/const-eval-overflow2b.rs:69:5
117
- |
118
- LL | foo(VALS_U16); //~ ERROR erroneous constant used
119
- | ^^^^^^^^^^^^^ referenced constant has errors
120
-
121
- error[E0080]: erroneous constant used
122
- --> $DIR/const-eval-overflow2b.rs:70:5
123
- |
124
- LL | foo(VALS_U32); //~ ERROR erroneous constant used
125
- | ^^^^^^^^^^^^^ referenced constant has errors
126
-
127
- error[E0080]: erroneous constant used
128
- --> $DIR/const-eval-overflow2b.rs:71:5
129
- |
130
- LL | foo(VALS_U64); //~ ERROR erroneous constant used
131
- | ^^^^^^^^^^^^^ referenced constant has errors
132
-
133
- error: aborting due to 16 previous errors
85
+ error: aborting due to 8 previous errors
134
86
135
- For more information about this error, try `rustc --explain E0080`.
0 commit comments