Bless incremental tests.
This commit is contained in:
parent
957548183d
commit
6c5f077157
3 changed files with 47 additions and 31 deletions
|
@ -116,9 +116,9 @@ impl Foo {
|
||||||
// Change Method Privacy -------------------------------------------------------
|
// Change Method Privacy -------------------------------------------------------
|
||||||
#[cfg(any(cfail1,cfail4))]
|
#[cfg(any(cfail1,cfail4))]
|
||||||
impl Foo {
|
impl Foo {
|
||||||
//----------------------------------------------------
|
|
||||||
//--------------------------
|
//--------------------------
|
||||||
//------------------------------------------------------------------------------
|
//--------------------------
|
||||||
|
//--------------------------------------------------------------
|
||||||
//--------------------------
|
//--------------------------
|
||||||
pub fn method_privacy() { }
|
pub fn method_privacy() { }
|
||||||
}
|
}
|
||||||
|
@ -129,9 +129,9 @@ impl Foo {
|
||||||
#[rustc_clean(cfg="cfail5")]
|
#[rustc_clean(cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
impl Foo {
|
impl Foo {
|
||||||
#[rustc_clean(cfg="cfail2", except="associated_item")]
|
#[rustc_clean(cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,associated_item")]
|
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
fn method_privacy() { }
|
fn method_privacy() { }
|
||||||
}
|
}
|
||||||
|
|
|
@ -277,22 +277,22 @@ trait TraitChangeMethodParametersOrder {
|
||||||
// Add default implementation to method
|
// Add default implementation to method
|
||||||
#[cfg(any(cfail1,cfail4))]
|
#[cfg(any(cfail1,cfail4))]
|
||||||
trait TraitAddMethodAutoImplementation {
|
trait TraitAddMethodAutoImplementation {
|
||||||
// -----------------------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// -------------------------
|
// -------------------------
|
||||||
// -----------------------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// -------------------------
|
// -------------------------
|
||||||
fn method() ;
|
fn method() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(any(cfail1,cfail4)))]
|
#[cfg(not(any(cfail1,cfail4)))]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
trait TraitAddMethodAutoImplementation {
|
trait TraitAddMethodAutoImplementation {
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item", cfg="cfail2")]
|
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item", cfg="cfail5")]
|
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
fn method() {}
|
fn method() {}
|
||||||
}
|
}
|
||||||
|
@ -795,20 +795,24 @@ trait TraitAddLifetimeBoundToAssociatedType<'a> {
|
||||||
// Add default to associated type
|
// Add default to associated type
|
||||||
#[cfg(any(cfail1,cfail4))]
|
#[cfg(any(cfail1,cfail4))]
|
||||||
trait TraitAddDefaultToAssociatedType {
|
trait TraitAddDefaultToAssociatedType {
|
||||||
type Associated;
|
//--------------------------------------------------------------
|
||||||
|
//--------------------------
|
||||||
|
//--------------------------------------------------------------
|
||||||
|
//--------------------------
|
||||||
|
type Associated ;
|
||||||
|
|
||||||
fn method();
|
fn method();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(any(cfail1,cfail4)))]
|
#[cfg(not(any(cfail1,cfail4)))]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
trait TraitAddDefaultToAssociatedType {
|
trait TraitAddDefaultToAssociatedType {
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item", cfg="cfail2")]
|
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item", cfg="cfail5")]
|
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
type Associated = ReferenceType0;
|
type Associated = ReferenceType0;
|
||||||
|
|
||||||
|
@ -839,20 +843,28 @@ trait TraitAddAssociatedConstant {
|
||||||
// Add initializer to associated constant
|
// Add initializer to associated constant
|
||||||
#[cfg(any(cfail1,cfail4))]
|
#[cfg(any(cfail1,cfail4))]
|
||||||
trait TraitAddInitializerToAssociatedConstant {
|
trait TraitAddInitializerToAssociatedConstant {
|
||||||
const Value: u32;
|
//--------------------------------------------------------------
|
||||||
|
//--------------------------
|
||||||
|
//--------------------------------------------------------------
|
||||||
|
//--------------------------
|
||||||
|
const Value: u32 ;
|
||||||
|
|
||||||
|
//--------------------------
|
||||||
|
//--------------------------
|
||||||
|
//--------------------------
|
||||||
|
//--------------------------
|
||||||
fn method();
|
fn method();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(any(cfail1,cfail4)))]
|
#[cfg(not(any(cfail1,cfail4)))]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
trait TraitAddInitializerToAssociatedConstant {
|
trait TraitAddInitializerToAssociatedConstant {
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item", cfg="cfail2")]
|
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item", cfg="cfail5")]
|
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
const Value: u32 = 1;
|
const Value: u32 = 1;
|
||||||
|
|
||||||
|
|
|
@ -320,7 +320,11 @@ impl AddItemTrait for Foo {
|
||||||
|
|
||||||
#[cfg(any(cfail1,cfail4))]
|
#[cfg(any(cfail1,cfail4))]
|
||||||
pub trait ChangeHasValueTrait {
|
pub trait ChangeHasValueTrait {
|
||||||
fn method_name();
|
//--------------------------------------------------------------
|
||||||
|
//--------------------------
|
||||||
|
//--------------------------------------------------------------
|
||||||
|
//--------------------------
|
||||||
|
fn method_name() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(cfail1,cfail4))]
|
#[cfg(any(cfail1,cfail4))]
|
||||||
|
@ -329,14 +333,14 @@ impl ChangeHasValueTrait for Foo {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(any(cfail1,cfail4)))]
|
#[cfg(not(any(cfail1,cfail4)))]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
pub trait ChangeHasValueTrait {
|
pub trait ChangeHasValueTrait {
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item", cfg="cfail2")]
|
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item", cfg="cfail5")]
|
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
fn method_name() { }
|
fn method_name() { }
|
||||||
}
|
}
|
||||||
|
@ -358,22 +362,22 @@ pub trait AddDefaultTrait {
|
||||||
|
|
||||||
#[cfg(any(cfail1,cfail4))]
|
#[cfg(any(cfail1,cfail4))]
|
||||||
impl AddDefaultTrait for Foo {
|
impl AddDefaultTrait for Foo {
|
||||||
// ----------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// -------------------------
|
// -------------------------
|
||||||
// ----------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
// -------------------------
|
// -------------------------
|
||||||
fn method_name() { }
|
fn method_name() { }
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(any(cfail1,cfail4)))]
|
#[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(cfg="cfail3")]
|
||||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
#[rustc_clean(cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
impl AddDefaultTrait for Foo {
|
impl AddDefaultTrait for Foo {
|
||||||
#[rustc_clean(except="associated_item", cfg="cfail2")]
|
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
#[rustc_clean(except="associated_item", cfg="cfail5")]
|
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||||
#[rustc_clean(cfg="cfail6")]
|
#[rustc_clean(cfg="cfail6")]
|
||||||
default fn method_name() { }
|
default fn method_name() { }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue