File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -266,12 +266,6 @@ impl<'test> TestCx<'test> {
266
266
}
267
267
}
268
268
269
- #[ cfg( feature = "stable" ) ]
270
- fn run_pretty_test ( & self ) {
271
- self . fatal ( "pretty-printing tests can only be used with nightly Rust" . into ( ) ) ;
272
- }
273
-
274
- #[ cfg( not( feature = "stable" ) ) ]
275
269
fn run_pretty_test ( & self ) {
276
270
if self . props . pp_exact . is_some ( ) {
277
271
logv ( self . config , "testing for exact pretty-printing" . to_owned ( ) ) ;
@@ -348,7 +342,6 @@ impl<'test> TestCx<'test> {
348
342
}
349
343
}
350
344
351
- #[ cfg( not( feature = "stable" ) ) ]
352
345
fn print_source ( & self , src : String , pretty_type : & str ) -> ProcRes {
353
346
let aux_dir = self . aux_output_dir_name ( ) ;
354
347
@@ -367,7 +360,6 @@ impl<'test> TestCx<'test> {
367
360
Some ( src) )
368
361
}
369
362
370
- #[ cfg( not( feature = "stable" ) ) ]
371
363
fn compare_source ( & self ,
372
364
expected : & str ,
373
365
actual : & str ) {
@@ -388,7 +380,6 @@ actual:\n\
388
380
}
389
381
}
390
382
391
- #[ cfg( not( feature = "stable" ) ) ]
392
383
fn typecheck_source ( & self , src : String ) -> ProcRes {
393
384
let mut rustc = Command :: new ( & self . config . rustc_path ) ;
394
385
You can’t perform that action at this time.
0 commit comments