File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -152,21 +152,14 @@ pub const EXIT_SUCCESS: isize = 0;
152
152
/// Exit status code used for compilation failures and invalid flags.
153
153
pub const EXIT_FAILURE : isize = 1 ;
154
154
155
- const BUG_REPORT_URL : & ' static str = "https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.\
156
- md#bug-reports";
157
-
158
- const ICE_REPORT_COMPILER_FLAGS : & ' static [ & ' static str ] = & [
159
- "Z" ,
160
- "C" ,
161
- "crate-type" ,
162
- ] ;
163
- const ICE_REPORT_COMPILER_FLAGS_EXCLUDE : & ' static [ & ' static str ] = & [
164
- "metadata" ,
165
- "extra-filename" ,
166
- ] ;
167
- const ICE_REPORT_COMPILER_FLAGS_STRIP_VALUE : & ' static [ & ' static str ] = & [
168
- "incremental" ,
169
- ] ;
155
+ const BUG_REPORT_URL : & str = "https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.\
156
+ md#bug-reports";
157
+
158
+ const ICE_REPORT_COMPILER_FLAGS : & [ & str ] = & [ "Z" , "C" , "crate-type" ] ;
159
+
160
+ const ICE_REPORT_COMPILER_FLAGS_EXCLUDE : & [ & str ] = & [ "metadata" , "extra-filename" ] ;
161
+
162
+ const ICE_REPORT_COMPILER_FLAGS_STRIP_VALUE : & [ & str ] = & [ "incremental" ] ;
170
163
171
164
pub fn abort_on_err < T > ( result : Result < T , CompileIncomplete > , sess : & Session ) -> T {
172
165
match result {
You can’t perform that action at this time.
0 commit comments