Skip to content

Commit 51bbee9

Browse files
committed
Remove stable feature requirements
This should've been part of #200 Fixes #205
1 parent 1f34574 commit 51bbee9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/runtest.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,6 @@ impl<'test> TestCx<'test> {
266266
}
267267
}
268268

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"))]
275269
fn run_pretty_test(&self) {
276270
if self.props.pp_exact.is_some() {
277271
logv(self.config, "testing for exact pretty-printing".to_owned());
@@ -348,7 +342,6 @@ impl<'test> TestCx<'test> {
348342
}
349343
}
350344

351-
#[cfg(not(feature = "stable"))]
352345
fn print_source(&self, src: String, pretty_type: &str) -> ProcRes {
353346
let aux_dir = self.aux_output_dir_name();
354347

@@ -367,7 +360,6 @@ impl<'test> TestCx<'test> {
367360
Some(src))
368361
}
369362

370-
#[cfg(not(feature = "stable"))]
371363
fn compare_source(&self,
372364
expected: &str,
373365
actual: &str) {
@@ -388,7 +380,6 @@ actual:\n\
388380
}
389381
}
390382

391-
#[cfg(not(feature = "stable"))]
392383
fn typecheck_source(&self, src: String) -> ProcRes {
393384
let mut rustc = Command::new(&self.config.rustc_path);
394385

0 commit comments

Comments
 (0)