Skip to content

Commit daccecc

Browse files
committed
Bless incremental tests.
1 parent 4bbe078 commit daccecc

File tree

5 files changed

+20
-24
lines changed

5 files changed

+20
-24
lines changed

src/test/incremental/hashes/enum_defs.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,14 @@
2929

3030
// Change enum visibility -----------------------------------------------------
3131
#[cfg(any(cfail1,cfail4))]
32-
enum EnumVisibility { A }
32+
enum EnumVisibility { A }
3333

3434
#[cfg(not(any(cfail1,cfail4)))]
35-
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
35+
#[rustc_clean(cfg="cfail2")]
3636
#[rustc_clean(cfg="cfail3")]
3737
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
3838
#[rustc_clean(cfg="cfail6")]
39-
pub enum EnumVisibility {
40-
A
41-
}
39+
pub enum EnumVisibility { A }
4240

4341

4442

src/test/incremental/hashes/inherent_impls.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl Foo {
116116
// Change Method Privacy -------------------------------------------------------
117117
#[cfg(any(cfail1,cfail4))]
118118
impl Foo {
119-
//------------------------------------------------------------------------------
119+
//----------------------------------------------------
120120
//--------------------------
121121
//------------------------------------------------------------------------------
122122
//--------------------------
@@ -129,9 +129,9 @@ impl Foo {
129129
#[rustc_clean(cfg="cfail5")]
130130
#[rustc_clean(cfg="cfail6")]
131131
impl Foo {
132-
#[rustc_clean(cfg="cfail2", except="associated_item,hir_owner,hir_owner_nodes")]
132+
#[rustc_clean(cfg="cfail2", except="associated_item")]
133133
#[rustc_clean(cfg="cfail3")]
134-
#[rustc_clean(cfg="cfail5", except="associated_item,hir_owner,hir_owner_nodes")]
134+
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,associated_item")]
135135
#[rustc_clean(cfg="cfail6")]
136136
fn method_privacy() { }
137137
}

src/test/incremental/hashes/statics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424

2525
// Change static visibility
2626
#[cfg(any(cfail1,cfail4))]
27-
static STATIC_VISIBILITY: u8 = 0;
27+
static STATIC_VISIBILITY: u8 = 0;
2828

2929
#[cfg(not(any(cfail1,cfail4)))]
30-
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
30+
#[rustc_clean(cfg="cfail2")]
3131
#[rustc_clean(cfg="cfail3")]
3232
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
3333
#[rustc_clean(cfg="cfail6")]

src/test/incremental/hashes/struct_defs.rs

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ struct TupleStructAddField(
8484
// Tuple Struct Field Visibility -----------------------------------------------
8585

8686
#[cfg(any(cfail1,cfail4))]
87-
struct TupleStructFieldVisibility(char);
87+
struct TupleStructFieldVisibility( char);
8888

8989
#[cfg(not(any(cfail1,cfail4)))]
90-
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail2")]
90+
#[rustc_clean(cfg="cfail2", except="type_of")]
9191
#[rustc_clean(cfg="cfail3")]
92-
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail5")]
92+
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
9393
#[rustc_clean(cfg="cfail6")]
9494
struct TupleStructFieldVisibility(pub char);
9595

@@ -142,16 +142,14 @@ struct RecordStructAddField {
142142
// Record Struct Field Visibility ----------------------------------------------
143143

144144
#[cfg(any(cfail1,cfail4))]
145-
struct RecordStructFieldVisibility { x: f32 }
145+
struct RecordStructFieldVisibility { x: f32 }
146146

147147
#[cfg(not(any(cfail1,cfail4)))]
148-
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail2")]
148+
#[rustc_clean(cfg="cfail2", except="type_of")]
149149
#[rustc_clean(cfg="cfail3")]
150-
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail5")]
150+
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
151151
#[rustc_clean(cfg="cfail6")]
152-
struct RecordStructFieldVisibility {
153-
pub x: f32
154-
}
152+
struct RecordStructFieldVisibility { pub x: f32 }
155153

156154

157155
// Add Lifetime Parameter ------------------------------------------------------
@@ -257,12 +255,12 @@ pub struct EmptyStruct;
257255
// Visibility ------------------------------------------------------------------
258256

259257
#[cfg(any(cfail1,cfail4))]
260-
struct Visibility;
258+
struct Visibility;
261259

262260
#[cfg(not(any(cfail1,cfail4)))]
263-
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
261+
#[rustc_clean(cfg="cfail2")]
264262
#[rustc_clean(cfg="cfail3")]
265-
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
263+
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
266264
#[rustc_clean(cfg="cfail6")]
267265
pub struct Visibility;
268266

src/test/incremental/hashes/trait_defs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
trait TraitVisibility { }
3232

3333
#[cfg(not(any(cfail1,cfail4)))]
34-
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
34+
#[rustc_clean(cfg="cfail2")]
3535
#[rustc_clean(cfg="cfail3")]
36-
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
36+
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
3737
#[rustc_clean(cfg="cfail6")]
3838
pub trait TraitVisibility { }
3939

0 commit comments

Comments
 (0)