File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,9 @@ pub trait CompilerCalls<'a> {
204
204
fn early_callback ( & mut self ,
205
205
& getopts:: Matches ,
206
206
& diagnostics:: registry:: Registry )
207
- -> Compilation ;
207
+ -> Compilation {
208
+ Compilation :: Continue
209
+ }
208
210
209
211
// Hook for a callback late in the process of handling arguments. This will
210
212
// be called just before actual compilation starts (and before build_controller
@@ -215,7 +217,9 @@ pub trait CompilerCalls<'a> {
215
217
& Input ,
216
218
& Option < PathBuf > ,
217
219
& Option < PathBuf > )
218
- -> Compilation ;
220
+ -> Compilation {
221
+ Compilation :: Continue
222
+ }
219
223
220
224
// Called after we extract the input from the arguments. Gives the implementer
221
225
// an opportunity to change the inputs or to add some custom input handling.
@@ -236,7 +240,9 @@ pub trait CompilerCalls<'a> {
236
240
& Option < PathBuf > ,
237
241
& Option < PathBuf > ,
238
242
& diagnostics:: registry:: Registry )
239
- -> Option < ( Input , Option < PathBuf > ) > ;
243
+ -> Option < ( Input , Option < PathBuf > ) > {
244
+ None
245
+ }
240
246
241
247
// Parse pretty printing information from the arguments. The implementer can
242
248
// choose to ignore this (the default will return None) which will skip pretty
You can’t perform that action at this time.
0 commit comments