Skip to content

Commit f22ccbe

Browse files
committed
Fix run-pass-fulldeps tests
1 parent f2fd000 commit f22ccbe

35 files changed

+20
-89
lines changed

src/test/compile-fail-fulldeps/auxiliary/pub_and_stability.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636

3737
#![feature(staged_api)]
3838

39-
#![stable(feature = "unit_test", since = "0.0.0")]
39+
#![stable(feature = "unit_test", since = "1.0.0")]
4040

41-
#[stable(feature = "unit_test", since = "0.0.0")]
41+
#[stable(feature = "unit_test", since = "1.0.0")]
4242
pub use m::{Record, Trait, Tuple};
4343

4444
mod m {
4545
#[derive(Default)]
46-
#[stable(feature = "unit_test", since = "0.0.0")]
46+
#[stable(feature = "unit_test", since = "1.0.0")]
4747
pub struct Record {
48-
#[stable(feature = "unit_test", since = "0.0.0")]
48+
#[stable(feature = "unit_test", since = "1.0.0")]
4949
pub a_stable_pub: i32,
5050
#[unstable(feature = "unstable_declared", issue = "38412")]
5151
pub a_unstable_declared_pub: i32,
@@ -55,14 +55,14 @@ mod m {
5555
pub(crate) b_crate: i32,
5656
#[unstable(feature = "unstable_declared", issue = "38412")] // SILLY
5757
pub(in m) c_mod: i32,
58-
#[stable(feature = "unit_test", since = "0.0.0")] // SILLY
58+
#[stable(feature = "unit_test", since = "1.0.0")] // SILLY
5959
d_priv: i32
6060
}
6161

6262
#[derive(Default)]
6363
#[stable(feature = "unit_test", since = "1.0.0")]
6464
pub struct Tuple(
65-
#[stable(feature = "unit_test", since = "0.0.0")]
65+
#[stable(feature = "unit_test", since = "1.0.0")]
6666
pub i32,
6767
#[unstable(feature = "unstable_declared", issue = "38412")]
6868
pub i32,
@@ -84,27 +84,27 @@ mod m {
8484
}
8585

8686

87-
#[stable(feature = "unit_test", since = "0.0.0")]
87+
#[stable(feature = "unit_test", since = "1.0.0")]
8888
pub trait Trait {
89-
#[stable(feature = "unit_test", since = "0.0.0")]
89+
#[stable(feature = "unit_test", since = "1.0.0")]
9090
type Type;
91-
#[stable(feature = "unit_test", since = "0.0.0")]
91+
#[stable(feature = "unit_test", since = "1.0.0")]
9292
fn stable_trait_method(&self) -> Self::Type;
9393
#[unstable(feature = "unstable_undeclared", issue = "38412")]
9494
fn unstable_undeclared_trait_method(&self) -> Self::Type;
9595
#[unstable(feature = "unstable_declared", issue = "38412")]
9696
fn unstable_declared_trait_method(&self) -> Self::Type;
9797
}
9898

99-
#[stable(feature = "unit_test", since = "0.0.0")]
99+
#[stable(feature = "unit_test", since = "1.0.0")]
100100
impl Trait for Record {
101101
type Type = i32;
102102
fn stable_trait_method(&self) -> i32 { self.d_priv }
103103
fn unstable_undeclared_trait_method(&self) -> i32 { self.d_priv }
104104
fn unstable_declared_trait_method(&self) -> i32 { self.d_priv }
105105
}
106106

107-
#[stable(feature = "unit_test", since = "0.0.0")]
107+
#[stable(feature = "unit_test", since = "1.0.0")]
108108
impl Trait for Tuple {
109109
type Type = i32;
110110
fn stable_trait_method(&self) -> i32 { self.3 }
@@ -117,14 +117,14 @@ mod m {
117117
pub fn unstable_undeclared(&self) -> i32 { self.d_priv }
118118
#[unstable(feature = "unstable_declared", issue = "38412")]
119119
pub fn unstable_declared(&self) -> i32 { self.d_priv }
120-
#[stable(feature = "unit_test", since = "0.0.0")]
120+
#[stable(feature = "unit_test", since = "1.0.0")]
121121
pub fn stable(&self) -> i32 { self.d_priv }
122122

123123
#[unstable(feature = "unstable_undeclared", issue = "38412")] // SILLY
124124
pub(crate) fn pub_crate(&self) -> i32 { self.d_priv }
125125
#[unstable(feature = "unstable_declared", issue = "38412")] // SILLY
126126
pub(in m) fn pub_mod(&self) -> i32 { self.d_priv }
127-
#[stable(feature = "unit_test", since = "0.0.0")] // SILLY
127+
#[stable(feature = "unit_test", since = "1.0.0")] // SILLY
128128
fn private(&self) -> i32 { self.d_priv }
129129
}
130130

@@ -133,7 +133,7 @@ mod m {
133133
pub fn unstable_undeclared(&self) -> i32 { self.0 }
134134
#[unstable(feature = "unstable_declared", issue = "38412")]
135135
pub fn unstable_declared(&self) -> i32 { self.0 }
136-
#[stable(feature = "unit_test", since = "0.0.0")]
136+
#[stable(feature = "unit_test", since = "1.0.0")]
137137
pub fn stable(&self) -> i32 { self.0 }
138138

139139
pub(crate) fn pub_crate(&self) -> i32 { self.0 }

src/test/compile-fail/auxiliary/unstable-macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
#![feature(staged_api)]
12-
#![stable(feature = "unit_test", since = "0.0.0")]
12+
#![stable(feature = "unit_test", since = "1.0.0")]
1313

1414
#[unstable(feature = "unstable_macros", issue = "0")]
1515
#[macro_export]

src/test/run-pass-fulldeps/compiler-calls.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
// ignore-cross-compile
1414

15-
#![feature(rustc_private, path)]
16-
#![feature(core)]
15+
#![feature(rustc_private)]
1716

1817
extern crate getopts;
1918
extern crate rustc;

src/test/run-pass-fulldeps/deriving-global.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(rand, rustc_private)]
11+
#![feature(rustc_private)]
1212

1313
extern crate serialize;
1414

src/test/run-pass-fulldeps/proc-macro/attr-stmt-expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// aux-build:attr-stmt-expr.rs
1212
// ignore-stage1
1313

14-
#![feature(use_extern_macros, stmt_expr_attributes, proc_macro_stmt, proc_macro_expr)]
14+
#![feature(use_extern_macros, stmt_expr_attributes, proc_macro_expr)]
1515

1616
extern crate attr_stmt_expr;
1717
use attr_stmt_expr::{expect_let, expect_print_stmt, expect_expr, expect_print_expr,

src/test/run-pass/associated-types-nested-projections.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
// pretty-expanded FIXME #23616
1414

15-
#![feature(core)]
16-
1715
use std::slice;
1816

1917
trait Bound {}

src/test/run-pass/auxiliary/issue13507.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(core)]
12-
1311
pub mod testtypes {
1412
use std::any::TypeId;
1513

src/test/run-pass/auxiliary/typeid-intrinsic-aux1.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(core)]
12-
1311
use std::any::{Any, TypeId};
1412

1513
pub struct A;

src/test/run-pass/auxiliary/typeid-intrinsic-aux2.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![feature(core)]
12-
1311
use std::any::{Any, TypeId};
1412

1513
pub struct A;

src/test/run-pass/auxiliary/unstable-macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
#![feature(staged_api)]
12-
#![stable(feature = "unit_test", since = "0.0.0")]
12+
#![stable(feature = "unit_test", since = "1.0.0")]
1313

1414
#[unstable(feature = "unstable_macros", issue = "0")]
1515
#[macro_export]

0 commit comments

Comments
 (0)