mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 06:26:55 +00:00
Bless incremental tests.
This commit is contained in:
parent
4bbe078d92
commit
daccecc0ec
@ -29,16 +29,14 @@
|
||||
|
||||
// Change enum visibility -----------------------------------------------------
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
enum EnumVisibility { A }
|
||||
enum EnumVisibility { A }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub enum EnumVisibility {
|
||||
A
|
||||
}
|
||||
pub enum EnumVisibility { A }
|
||||
|
||||
|
||||
|
||||
|
@ -116,7 +116,7 @@ impl Foo {
|
||||
// Change Method Privacy -------------------------------------------------------
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl Foo {
|
||||
//------------------------------------------------------------------------------
|
||||
//----------------------------------------------------
|
||||
//--------------------------
|
||||
//------------------------------------------------------------------------------
|
||||
//--------------------------
|
||||
@ -129,9 +129,9 @@ impl Foo {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Foo {
|
||||
#[rustc_clean(cfg="cfail2", except="associated_item,hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="associated_item")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="associated_item,hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,associated_item")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method_privacy() { }
|
||||
}
|
||||
|
@ -24,10 +24,10 @@
|
||||
|
||||
// Change static visibility
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
static STATIC_VISIBILITY: u8 = 0;
|
||||
static STATIC_VISIBILITY: u8 = 0;
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
|
@ -84,12 +84,12 @@ struct TupleStructAddField(
|
||||
// Tuple Struct Field Visibility -----------------------------------------------
|
||||
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
struct TupleStructFieldVisibility(char);
|
||||
struct TupleStructFieldVisibility( char);
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail2", except="type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct TupleStructFieldVisibility(pub char);
|
||||
|
||||
@ -142,16 +142,14 @@ struct RecordStructAddField {
|
||||
// Record Struct Field Visibility ----------------------------------------------
|
||||
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
struct RecordStructFieldVisibility { x: f32 }
|
||||
struct RecordStructFieldVisibility { x: f32 }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail2", except="type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct RecordStructFieldVisibility {
|
||||
pub x: f32
|
||||
}
|
||||
struct RecordStructFieldVisibility { pub x: f32 }
|
||||
|
||||
|
||||
// Add Lifetime Parameter ------------------------------------------------------
|
||||
@ -257,12 +255,12 @@ pub struct EmptyStruct;
|
||||
// Visibility ------------------------------------------------------------------
|
||||
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
struct Visibility;
|
||||
struct Visibility;
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub struct Visibility;
|
||||
|
||||
|
@ -31,9 +31,9 @@
|
||||
trait TraitVisibility { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub trait TraitVisibility { }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user