mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Bless incremental tests.
This commit is contained in:
@@ -26,12 +26,11 @@ mod y {
|
||||
use x;
|
||||
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig",
|
||||
except="hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig",
|
||||
cfg="cfail2",
|
||||
)]
|
||||
pub fn y() {
|
||||
//[cfail2]~^ ERROR `hir_owner(y)` should be dirty but is not
|
||||
//[cfail2]~| ERROR `hir_owner_nodes(y)` should be dirty but is not
|
||||
//[cfail2]~^ ERROR `hir_owner_nodes(y)` should be dirty but is not
|
||||
//[cfail2]~| ERROR `generics_of(y)` should be dirty but is not
|
||||
//[cfail2]~| ERROR `predicates_of(y)` should be dirty but is not
|
||||
//[cfail2]~| ERROR `type_of(y)` should be dirty but is not
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
#[cfg(rpass1)]
|
||||
#[rustc_clean(cfg="rpass1",except="hir_owner")]
|
||||
#[rustc_clean(cfg="rpass1",except="hir_owner_nodes")]
|
||||
mod foo {
|
||||
struct First;
|
||||
struct Second;
|
||||
}
|
||||
|
||||
#[cfg(rpass2)]
|
||||
#[rustc_clean(cfg="rpass2",except="hir_owner")]
|
||||
#[rustc_clean(cfg="rpass2",except="hir_owner_nodes")]
|
||||
mod foo {
|
||||
struct Second;
|
||||
struct First;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
const CONST_VISIBILITY: u8 = 0;
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
pub const CONST_VISIBILITY: u8 = 0;
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
const CONST_CHANGE_TYPE_1: i32 = 0;
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
const CONST_CHANGE_TYPE_1: u32 = 0;
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
const CONST_CHANGE_TYPE_2: Option<u32> = None;
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
const CONST_CHANGE_TYPE_2: Option<u64> = None;
|
||||
|
||||
@@ -99,11 +99,11 @@ mod const_change_type_indirectly {
|
||||
#[cfg(not(cfail1))]
|
||||
use super::ReferencedType2 as Type;
|
||||
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
const CONST_CHANGE_TYPE_INDIRECTLY_1: Type = Type;
|
||||
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
const CONST_CHANGE_TYPE_INDIRECTLY_2: Option<Type> = None;
|
||||
}
|
||||
|
||||
@@ -148,17 +148,9 @@ pub mod change_constructor_path_indirectly_struct_like {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::Enum2 as TheEnum;
|
||||
|
||||
#[rustc_clean(
|
||||
cfg="cfail2",
|
||||
except="fn_sig,hir_owner,hir_owner_nodes,optimized_mir,\
|
||||
typeck"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail2", except="fn_sig,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg="cfail5",
|
||||
except="fn_sig,hir_owner,hir_owner_nodes,optimized_mir,\
|
||||
typeck"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail5", except="fn_sig,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn function() -> TheEnum {
|
||||
TheEnum::Struct {
|
||||
@@ -261,17 +253,9 @@ pub mod change_constructor_path_indirectly_tuple_like {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::Enum2 as TheEnum;
|
||||
|
||||
#[rustc_clean(
|
||||
cfg="cfail2",
|
||||
except="fn_sig,hir_owner,hir_owner_nodes,optimized_mir,\
|
||||
typeck"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail2", except="fn_sig,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg="cfail5",
|
||||
except="fn_sig,hir_owner,hir_owner_nodes,optimized_mir,\
|
||||
typeck"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail5", except="fn_sig,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn function() -> TheEnum {
|
||||
TheEnum::Tuple(0, 1, 2)
|
||||
@@ -350,17 +334,9 @@ pub mod change_constructor_path_indirectly_c_like {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::Clike2 as TheEnum;
|
||||
|
||||
#[rustc_clean(
|
||||
cfg="cfail2",
|
||||
except="fn_sig,hir_owner,hir_owner_nodes,optimized_mir,\
|
||||
typeck"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail2", except="fn_sig,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg="cfail5",
|
||||
except="fn_sig,hir_owner,hir_owner_nodes,optimized_mir,\
|
||||
typeck"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail5", except="fn_sig,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn function() -> TheEnum {
|
||||
TheEnum::B
|
||||
|
||||
@@ -31,7 +31,7 @@ enum EnumVisibility { A }
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub enum EnumVisibility { A }
|
||||
|
||||
@@ -45,9 +45,9 @@ enum EnumChangeNameCStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeNameCStyleVariant {
|
||||
Variant1,
|
||||
@@ -64,9 +64,9 @@ enum EnumChangeNameTupleStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeNameTupleStyleVariant {
|
||||
Variant1,
|
||||
@@ -83,9 +83,9 @@ enum EnumChangeNameStructStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeNameStructStyleVariant {
|
||||
Variant1,
|
||||
@@ -118,9 +118,9 @@ enum EnumChangeValueCStyleVariant1 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeValueCStyleVariant1 {
|
||||
Variant1,
|
||||
@@ -136,9 +136,9 @@ enum EnumAddCStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddCStyleVariant {
|
||||
Variant1,
|
||||
@@ -155,9 +155,9 @@ enum EnumRemoveCStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumRemoveCStyleVariant {
|
||||
Variant1,
|
||||
@@ -172,9 +172,9 @@ enum EnumAddTupleStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddTupleStyleVariant {
|
||||
Variant1,
|
||||
@@ -191,9 +191,9 @@ enum EnumRemoveTupleStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumRemoveTupleStyleVariant {
|
||||
Variant1,
|
||||
@@ -208,9 +208,9 @@ enum EnumAddStructStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddStructStyleVariant {
|
||||
Variant1,
|
||||
@@ -227,9 +227,9 @@ enum EnumRemoveStructStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumRemoveStructStyleVariant {
|
||||
Variant1,
|
||||
@@ -244,9 +244,9 @@ enum EnumChangeFieldTypeTupleStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeFieldTypeTupleStyleVariant {
|
||||
Variant1(u32,
|
||||
@@ -263,9 +263,9 @@ enum EnumChangeFieldTypeStructStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeFieldTypeStructStyleVariant {
|
||||
Variant1,
|
||||
@@ -284,9 +284,9 @@ enum EnumChangeFieldNameStructStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeFieldNameStructStyleVariant {
|
||||
Variant1 { a: u32, c: u32 },
|
||||
@@ -301,9 +301,9 @@ enum EnumChangeOrderTupleStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeOrderTupleStyleVariant {
|
||||
Variant1(
|
||||
@@ -320,9 +320,9 @@ enum EnumChangeFieldOrderStructStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeFieldOrderStructStyleVariant {
|
||||
Variant1 { b: f32, a: u32 },
|
||||
@@ -337,9 +337,9 @@ enum EnumAddFieldTupleStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddFieldTupleStyleVariant {
|
||||
Variant1(u32, u32, u32),
|
||||
@@ -354,9 +354,9 @@ enum EnumAddFieldStructStyleVariant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddFieldStructStyleVariant {
|
||||
Variant1 { a: u32, b: u32, c: u32 },
|
||||
@@ -411,9 +411,9 @@ enum EnumChangeNameOfTypeParameter<S> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeNameOfTypeParameter<T> {
|
||||
Variant1(T),
|
||||
@@ -429,9 +429,9 @@ enum EnumAddTypeParameter<S> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddTypeParameter<S, T> {
|
||||
Variant1(S),
|
||||
@@ -447,9 +447,9 @@ enum EnumChangeNameOfLifetimeParameter<'a> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,generics_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,generics_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,generics_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,generics_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumChangeNameOfLifetimeParameter<'b> {
|
||||
Variant1(&'b u32),
|
||||
@@ -465,9 +465,9 @@ enum EnumAddLifetimeParameter<'a> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,generics_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,generics_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,generics_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,generics_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddLifetimeParameter<'a, 'b> {
|
||||
Variant1(&'a u32),
|
||||
@@ -484,9 +484,9 @@ enum EnumAddLifetimeParameterBound<'a, 'b> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddLifetimeParameterBound<'a, 'b: 'a> {
|
||||
Variant1(&'a u32),
|
||||
@@ -501,9 +501,9 @@ enum EnumAddLifetimeBoundToParameter<'a, T> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddLifetimeBoundToParameter<'a, T: 'a> {
|
||||
Variant1(T),
|
||||
@@ -519,9 +519,9 @@ enum EnumAddTraitBound<S> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddTraitBound<T: Sync> {
|
||||
Variant1(T),
|
||||
@@ -537,9 +537,9 @@ enum EnumAddLifetimeParameterBoundWhere<'a, 'b> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddLifetimeParameterBoundWhere<'a, 'b> where 'b: 'a {
|
||||
Variant1(&'a u32),
|
||||
@@ -556,9 +556,9 @@ enum EnumAddLifetimeBoundToParameterWhere<'a, T> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddLifetimeBoundToParameterWhere<'a, T> where T: 'a {
|
||||
Variant1(T),
|
||||
@@ -574,9 +574,9 @@ enum EnumAddTraitBoundWhere<S> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,generics_of,predicates_of,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumAddTraitBoundWhere<T> where T: Sync {
|
||||
Variant1(T),
|
||||
@@ -592,9 +592,9 @@ enum EnumSwapUsageTypeParameters<A, B> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumSwapUsageTypeParameters<A, B> {
|
||||
Variant1 {
|
||||
@@ -615,9 +615,9 @@ enum EnumSwapUsageLifetimeParameters<'a, 'b> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum EnumSwapUsageLifetimeParameters<'a, 'b> {
|
||||
Variant1 {
|
||||
@@ -642,9 +642,9 @@ mod change_field_type_indirectly_tuple_style {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedType2 as FieldType;
|
||||
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum TupleStyle {
|
||||
Variant1(
|
||||
@@ -662,9 +662,9 @@ mod change_field_type_indirectly_struct_style {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedType2 as FieldType;
|
||||
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum StructStyle {
|
||||
Variant1 {
|
||||
@@ -687,9 +687,9 @@ mod change_trait_bound_indirectly {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedTrait2 as Trait;
|
||||
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum Enum<T: Trait> {
|
||||
Variant1(T)
|
||||
@@ -705,9 +705,9 @@ mod change_trait_bound_indirectly_where {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedTrait2 as Trait;
|
||||
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
enum Enum<T> where T: Trait {
|
||||
Variant1(T)
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
extern "C" {
|
||||
pub fn change_function_name2(c: i64) -> i32;
|
||||
@@ -129,9 +129,9 @@
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
extern "rust-call" {
|
||||
pub fn change_calling_convention(c: (i32,));
|
||||
@@ -159,9 +159,9 @@
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
extern "C" {
|
||||
pub fn add_function1(c: i32);
|
||||
|
||||
@@ -25,12 +25,12 @@ pub fn add_parameter() {}
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail2",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail5",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn add_parameter(p: i32) {}
|
||||
@@ -41,9 +41,9 @@ pub fn add_parameter(p: i32) {}
|
||||
pub fn add_return_type() {}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner, hir_owner_nodes, optimized_mir")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes, optimized_mir")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn add_return_type() -> () {}
|
||||
|
||||
@@ -55,12 +55,12 @@ pub fn type_of_parameter(p: i32) {}
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail2",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail5",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn type_of_parameter(p: i64) {}
|
||||
@@ -73,12 +73,12 @@ pub fn type_of_parameter_ref(p: &i32) {}
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail2",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail5",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn type_of_parameter_ref(p: &mut i32) {}
|
||||
@@ -91,12 +91,12 @@ pub fn order_of_parameters(p1: i32, p2: i64) {}
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail2",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail5",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn order_of_parameters(p2: i64, p1: i32) {}
|
||||
@@ -109,12 +109,12 @@ pub fn make_unsafe() {}
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail2",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail5",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub unsafe fn make_unsafe() {}
|
||||
@@ -125,9 +125,9 @@ pub unsafe fn make_unsafe() {}
|
||||
pub fn make_extern() {}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_nodes, typeck, fn_sig")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes, typeck, fn_sig")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner, hir_owner_nodes, typeck, fn_sig")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes, typeck, fn_sig")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub extern "C" fn make_extern() {}
|
||||
|
||||
@@ -139,12 +139,12 @@ pub fn type_parameter () {}
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail2",
|
||||
except = "hir_owner, hir_owner_nodes, generics_of, type_of, predicates_of"
|
||||
except = "hir_owner_nodes, generics_of, type_of, predicates_of"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail5",
|
||||
except = "hir_owner, hir_owner_nodes, generics_of, type_of, predicates_of"
|
||||
except = "hir_owner_nodes, generics_of, type_of, predicates_of"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn type_parameter<T>() {}
|
||||
@@ -155,9 +155,9 @@ pub fn type_parameter<T>() {}
|
||||
pub fn lifetime_parameter () {}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_nodes, generics_of,fn_sig")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes, generics_of,fn_sig")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner, hir_owner_nodes, generics_of,fn_sig")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes, generics_of,fn_sig")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn lifetime_parameter<'a>() {}
|
||||
|
||||
@@ -167,7 +167,7 @@ pub fn lifetime_parameter<'a>() {}
|
||||
pub fn trait_bound<T >() {}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
pub fn trait_bound<T: Eq>() {}
|
||||
|
||||
@@ -177,9 +177,9 @@ pub fn trait_bound<T: Eq>() {}
|
||||
pub fn builtin_bound<T >() {}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner, hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn builtin_bound<T: Send>() {}
|
||||
|
||||
@@ -191,12 +191,12 @@ pub fn lifetime_bound<'a, T>() {}
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail2",
|
||||
except = "hir_owner, hir_owner_nodes, generics_of, type_of, predicates_of,fn_sig"
|
||||
except = "hir_owner_nodes, generics_of, type_of, predicates_of,fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail5",
|
||||
except = "hir_owner, hir_owner_nodes, generics_of, type_of, predicates_of,fn_sig,optimized_mir"
|
||||
except = "hir_owner_nodes, generics_of, type_of, predicates_of,fn_sig,optimized_mir"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn lifetime_bound<'a, T: 'a>() {}
|
||||
@@ -207,7 +207,7 @@ pub fn lifetime_bound<'a, T: 'a>() {}
|
||||
pub fn second_trait_bound<T: Eq >() {}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
pub fn second_trait_bound<T: Eq + Clone>() {}
|
||||
|
||||
@@ -217,9 +217,9 @@ pub fn second_trait_bound<T: Eq + Clone>() {}
|
||||
pub fn second_builtin_bound<T: Send >() {}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner, hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn second_builtin_bound<T: Send + Sized>() {}
|
||||
|
||||
@@ -231,12 +231,12 @@ pub fn second_lifetime_bound<'a, 'b, T: 'a >() {}
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail2",
|
||||
except = "hir_owner, hir_owner_nodes, generics_of, type_of, predicates_of,fn_sig"
|
||||
except = "hir_owner_nodes, generics_of, type_of, predicates_of,fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail5",
|
||||
except = "hir_owner, hir_owner_nodes, generics_of, type_of, predicates_of,fn_sig"
|
||||
except = "hir_owner_nodes, generics_of, type_of, predicates_of,fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn second_lifetime_bound<'a, 'b, T: 'a + 'b>() {}
|
||||
@@ -302,9 +302,9 @@ pub fn return_impl_trait() -> i32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_nodes, typeck, fn_sig")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes, typeck, fn_sig")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner, hir_owner_nodes, typeck, fn_sig, optimized_mir")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes, typeck, fn_sig, optimized_mir")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn return_impl_trait() -> impl Clone {
|
||||
0
|
||||
@@ -339,12 +339,12 @@ pub mod change_return_type_indirectly {
|
||||
|
||||
#[rustc_clean(
|
||||
cfg = "cfail2",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail5",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn indirect_return_type() -> ReturnType {
|
||||
@@ -362,12 +362,12 @@ pub mod change_parameter_type_indirectly {
|
||||
|
||||
#[rustc_clean(
|
||||
cfg = "cfail2",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg = "cfail5",
|
||||
except = "hir_owner, hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
except = "hir_owner_nodes, optimized_mir, typeck, fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn indirect_parameter_type(p: ParameterType) {}
|
||||
@@ -384,9 +384,9 @@ pub mod change_trait_bound_indirectly {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedTrait2 as Trait;
|
||||
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner, hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn indirect_trait_bound<T: Trait>(p: T) {}
|
||||
}
|
||||
@@ -399,9 +399,9 @@ pub mod change_trait_bound_indirectly_in_where_clause {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedTrait2 as Trait;
|
||||
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail2", except = "hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail3")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner, hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail5", except = "hir_owner_nodes, predicates_of")]
|
||||
#[rustc_clean(cfg = "cfail6")]
|
||||
pub fn indirect_trait_bound_where<T>(p: T)
|
||||
where
|
||||
|
||||
@@ -27,9 +27,9 @@ pub fn change_condition(x: bool) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn change_condition(x: bool) -> u32 {
|
||||
if !x {
|
||||
@@ -103,9 +103,9 @@ pub fn add_else_branch(x: bool) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_else_branch(x: bool) -> u32 {
|
||||
let mut ret = 1;
|
||||
@@ -156,9 +156,9 @@ pub fn change_then_branch_if_let(x: Option<u32>) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn change_then_branch_if_let(x: Option<u32>) -> u32 {
|
||||
if let Some(x) = x {
|
||||
@@ -209,9 +209,9 @@ pub fn add_else_branch_if_let(x: Option<u32>) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_else_branch_if_let(x: Option<u32>) -> u32 {
|
||||
let mut ret = 1;
|
||||
|
||||
@@ -74,9 +74,9 @@ fn add_lower_bound(slice: &[u32]) -> &[u32] {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,typeck", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,typeck", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,typeck", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,typeck", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn add_lower_bound(slice: &[u32]) -> &[u32] {
|
||||
&slice[3..4]
|
||||
@@ -91,9 +91,9 @@ fn add_upper_bound(slice: &[u32]) -> &[u32] {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,typeck", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,typeck", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,typeck", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,typeck", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn add_upper_bound(slice: &[u32]) -> &[u32] {
|
||||
&slice[3..7]
|
||||
@@ -125,9 +125,9 @@ fn exclusive_to_inclusive_range(slice: &[u32]) -> &[u32] {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,typeck", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,typeck", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,typeck", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,typeck", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn exclusive_to_inclusive_range(slice: &[u32]) -> &[u32] {
|
||||
&slice[3..=7]
|
||||
|
||||
@@ -26,9 +26,9 @@ pub fn method_name() { }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,associated_item_def_ids")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,associated_item_def_ids")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,associated_item_def_ids")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,associated_item_def_ids")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Foo {
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
@@ -115,7 +115,7 @@ pub fn method_body_inlined() {
|
||||
impl Foo {
|
||||
//--------------------------
|
||||
//--------------------------
|
||||
//--------------------------------------------------------------
|
||||
//----------------------------------------------------
|
||||
//--------------------------
|
||||
pub fn method_privacy() { }
|
||||
}
|
||||
@@ -128,7 +128,7 @@ pub fn method_privacy() { }
|
||||
impl Foo {
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method_privacy() { }
|
||||
}
|
||||
@@ -138,31 +138,31 @@ fn method_privacy() { }
|
||||
impl Foo {
|
||||
//------------
|
||||
//---------------
|
||||
//---------------------------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------------
|
||||
//
|
||||
//--------------------------
|
||||
//------------
|
||||
//---------------
|
||||
//---------------------------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------------
|
||||
//
|
||||
//--------------------------
|
||||
pub fn method_selfness() { }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Foo {
|
||||
#[rustc_clean(
|
||||
cfg="cfail2",
|
||||
except="hir_owner,hir_owner_nodes,fn_sig,generics_of,typeck,associated_item,optimized_mir",
|
||||
except="hir_owner_nodes,fn_sig,generics_of,typeck,associated_item,optimized_mir",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg="cfail5",
|
||||
except="hir_owner,hir_owner_nodes,fn_sig,generics_of,typeck,associated_item,optimized_mir",
|
||||
except="hir_owner_nodes,fn_sig,generics_of,typeck,associated_item,optimized_mir",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn method_selfness(&self) { }
|
||||
@@ -171,9 +171,9 @@ pub fn method_selfness(&self) { }
|
||||
// Change Method Selfmutness ---------------------------------------------------
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl Foo {
|
||||
//------------------------------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------------------
|
||||
//--------------------------
|
||||
//------------------------------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------------------
|
||||
//--------------------------
|
||||
pub fn method_selfmutness(& self) { }
|
||||
}
|
||||
@@ -184,9 +184,9 @@ pub fn method_selfmutness(& self) { }
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Foo {
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn method_selfmutness(&mut self) { }
|
||||
}
|
||||
@@ -200,9 +200,9 @@ pub fn add_method_to_impl1(&self) { }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,associated_item_def_ids")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,associated_item_def_ids")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,associated_item_def_ids")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,associated_item_def_ids")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Foo {
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
@@ -221,9 +221,9 @@ pub fn add_method_to_impl2(&self) { }
|
||||
// Add Method Parameter --------------------------------------------------------
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl Foo {
|
||||
//------------------------------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------------------
|
||||
//--------------------------
|
||||
//------------------------------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------------------
|
||||
//--------------------------
|
||||
pub fn add_method_parameter(&self ) { }
|
||||
}
|
||||
@@ -234,9 +234,9 @@ pub fn add_method_parameter(&self ) { }
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Foo {
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_method_parameter(&self, _: i32) { }
|
||||
}
|
||||
@@ -271,9 +271,9 @@ pub fn change_method_parameter_name(&self, b: i64) { }
|
||||
// Change Method Return Type ---------------------------------------------------
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl Foo {
|
||||
//------------------------------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------------------
|
||||
//--------------------------
|
||||
//------------------------------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------------------
|
||||
//--------------------------
|
||||
pub fn change_method_return_type(&self) -> u16 { 0 }
|
||||
}
|
||||
@@ -284,9 +284,9 @@ pub fn change_method_return_type(&self) -> u16 { 0 }
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Foo {
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,fn_sig,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,fn_sig,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,fn_sig,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,fn_sig,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn change_method_return_type(&self) -> u32 { 0 }
|
||||
}
|
||||
@@ -348,9 +348,9 @@ pub fn change_method_parameter_order(&self, b: i64, a: i64) { }
|
||||
// Make method unsafe ----------------------------------------------------------
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl Foo {
|
||||
//------------------------------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------------------
|
||||
//--------------------------
|
||||
//------------------------------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------------------
|
||||
//--------------------------
|
||||
pub fn make_method_unsafe(&self) { }
|
||||
}
|
||||
@@ -361,9 +361,9 @@ pub fn make_method_unsafe(&self) { }
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Foo {
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,fn_sig,typeck,optimized_mir")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub unsafe fn make_method_unsafe(&self) { }
|
||||
}
|
||||
@@ -373,9 +373,9 @@ pub unsafe fn make_method_unsafe(&self) { }
|
||||
// Make method extern ----------------------------------------------------------
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl Foo {
|
||||
//----------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------
|
||||
//--------------------------
|
||||
//----------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------
|
||||
//--------------------------
|
||||
pub fn make_method_extern(&self) { }
|
||||
}
|
||||
@@ -386,9 +386,9 @@ pub fn make_method_extern(&self) { }
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Foo {
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,fn_sig,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,fn_sig,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,fn_sig,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,fn_sig,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub extern "C" fn make_method_extern(&self) { }
|
||||
}
|
||||
@@ -398,9 +398,9 @@ pub extern "C" fn make_method_extern(&self) { }
|
||||
// Change method calling convention --------------------------------------------
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl Foo {
|
||||
//----------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------
|
||||
//--------------------------
|
||||
//----------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------
|
||||
//--------------------------
|
||||
pub extern "C" fn change_method_calling_convention(&self) { }
|
||||
}
|
||||
@@ -411,9 +411,9 @@ pub extern "C" fn change_method_calling_convention(&self) { }
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Foo {
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,fn_sig,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,fn_sig,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,fn_sig,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,fn_sig,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub extern "system" fn change_method_calling_convention(&self) { }
|
||||
}
|
||||
@@ -432,9 +432,9 @@ impl Foo {
|
||||
// ----------------------------------------------------------
|
||||
// -----------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------
|
||||
// -------------------------
|
||||
pub fn add_lifetime_parameter_to_method (&self) { }
|
||||
}
|
||||
@@ -454,9 +454,9 @@ impl Foo {
|
||||
// if we lower generics before the body, then the `HirId` for
|
||||
// things in the body will be affected. So if you start to see
|
||||
// `typeck` appear dirty, that might be the cause. -nmatsakis
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,fn_sig")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,fn_sig")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,fn_sig,generics_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,fn_sig,generics_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_lifetime_parameter_to_method<'a>(&self) { }
|
||||
}
|
||||
@@ -477,12 +477,12 @@ impl Foo {
|
||||
// -------------------------------------------------
|
||||
// -----------
|
||||
// --------------
|
||||
// ----------------------------------------------------------------------
|
||||
// ------------------------------------------------------------
|
||||
//
|
||||
// -------------------------
|
||||
// -----------
|
||||
// --------------
|
||||
// ----------------------------------------------------------------------
|
||||
// ------------------------------------------------------------
|
||||
//
|
||||
// -------------------------
|
||||
pub fn add_type_parameter_to_method (&self) { }
|
||||
@@ -505,12 +505,12 @@ impl Foo {
|
||||
// appear dirty, that might be the cause. -nmatsakis
|
||||
#[rustc_clean(
|
||||
cfg="cfail2",
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of",
|
||||
except="hir_owner_nodes,generics_of,predicates_of,type_of",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg="cfail5",
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of",
|
||||
except="hir_owner_nodes,generics_of,predicates_of,type_of",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_type_parameter_to_method<T>(&self) { }
|
||||
@@ -523,12 +523,12 @@ pub fn add_type_parameter_to_method<T>(&self) { }
|
||||
impl Foo {
|
||||
//------------
|
||||
//---------------
|
||||
//-----------------------------------------------------------------------------
|
||||
//-------------------------------------------------------------------
|
||||
//
|
||||
//--------------------------
|
||||
//------------
|
||||
//---------------
|
||||
//-----------------------------------------------------------------------------
|
||||
//-------------------------------------------------------------------
|
||||
//
|
||||
//--------------------------
|
||||
pub fn add_lifetime_bound_to_lifetime_param_of_method<'a, 'b >(&self) { }
|
||||
@@ -542,12 +542,12 @@ pub fn add_lifetime_bound_to_lifetime_param_of_method<'a, 'b >(&self) { }
|
||||
impl Foo {
|
||||
#[rustc_clean(
|
||||
cfg="cfail2",
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig"
|
||||
except="hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg="cfail5",
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig"
|
||||
except="hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_lifetime_bound_to_lifetime_param_of_method<'a, 'b: 'a>(&self) { }
|
||||
@@ -569,12 +569,12 @@ impl Foo {
|
||||
// -------------------------------------------------
|
||||
// -----------
|
||||
// --------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------
|
||||
//
|
||||
// -------------------------
|
||||
// -----------
|
||||
// --------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------
|
||||
//
|
||||
// -------------------------
|
||||
pub fn add_lifetime_bound_to_type_param_of_method<'a, T >(&self) { }
|
||||
@@ -597,12 +597,12 @@ impl Foo {
|
||||
// appear dirty, that might be the cause. -nmatsakis
|
||||
#[rustc_clean(
|
||||
cfg="cfail2",
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig"
|
||||
except="hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg="cfail5",
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig"
|
||||
except="hir_owner_nodes,generics_of,predicates_of,type_of,fn_sig"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_lifetime_bound_to_type_param_of_method<'a, T: 'a>(&self) { }
|
||||
@@ -622,9 +622,9 @@ impl Foo {
|
||||
// ------------------------------------------------------------
|
||||
// ------------------------------------------------------
|
||||
// -------------------------------------------------
|
||||
// ---------------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// -------------------------
|
||||
// ---------------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// -------------------------
|
||||
pub fn add_trait_bound_to_type_param_of_method<T >(&self) { }
|
||||
}
|
||||
@@ -644,9 +644,9 @@ impl Foo {
|
||||
// generics before the body, then the `HirId` for things in the
|
||||
// body will be affected. So if you start to see `typeck`
|
||||
// appear dirty, that might be the cause. -nmatsakis
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,predicates_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_trait_bound_to_type_param_of_method<T: Clone>(&self) { }
|
||||
}
|
||||
@@ -689,9 +689,9 @@ pub fn add_type_parameter_to_impl(&self) { }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,generics_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,generics_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,generics_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,generics_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl<T> Bar<T> {
|
||||
#[rustc_clean(
|
||||
@@ -716,9 +716,9 @@ pub fn change_impl_self_type(&self) { }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl Bar<u64> {
|
||||
#[rustc_clean(cfg="cfail2", except="fn_sig,optimized_mir,typeck")]
|
||||
@@ -737,9 +737,9 @@ pub fn add_lifetime_bound_to_impl_parameter(&self) { }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl<T: 'static> Bar<T> {
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
@@ -758,9 +758,9 @@ pub fn add_trait_bound_to_impl_parameter(&self) { }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl<T: Clone> Bar<T> {
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
|
||||
@@ -28,9 +28,9 @@ pub fn add_arm(x: u32) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_arm(x: u32) -> u32 {
|
||||
match x {
|
||||
@@ -79,9 +79,9 @@ pub fn add_guard_clause(x: u32, y: bool) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_guard_clause(x: u32, y: bool) -> u32 {
|
||||
match x {
|
||||
@@ -104,9 +104,9 @@ pub fn change_guard_clause(x: u32, y: bool) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn change_guard_clause(x: u32, y: bool) -> u32 {
|
||||
match x {
|
||||
@@ -129,9 +129,9 @@ pub fn add_at_binding(x: u32) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_at_binding(x: u32) -> u32 {
|
||||
match x {
|
||||
@@ -178,9 +178,9 @@ pub fn change_simple_name_to_pattern(x: u32) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn change_simple_name_to_pattern(x: u32) -> u32 {
|
||||
match (x, x & 1) {
|
||||
@@ -273,9 +273,9 @@ pub fn add_amp_to_binding_in_pattern(x: u32) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_amp_to_binding_in_pattern(x: u32) -> u32 {
|
||||
match (&x, x & 1) {
|
||||
@@ -322,9 +322,9 @@ pub fn add_alternative_to_arm(x: u32) -> u32 {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_alternative_to_arm(x: u32) -> u32 {
|
||||
match x {
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub static STATIC_VISIBILITY: u8 = 0;
|
||||
|
||||
@@ -36,9 +36,9 @@
|
||||
static STATIC_MUTABILITY: u8 = 0;
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
static mut STATIC_MUTABILITY: u8 = 0;
|
||||
|
||||
@@ -87,9 +87,9 @@
|
||||
static STATIC_CHANGE_TYPE_1: i16 = 0;
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
static STATIC_CHANGE_TYPE_1: u64 = 0;
|
||||
|
||||
@@ -99,9 +99,9 @@
|
||||
static STATIC_CHANGE_TYPE_2: Option<i8> = None;
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
static STATIC_CHANGE_TYPE_2: Option<u16> = None;
|
||||
|
||||
@@ -169,15 +169,15 @@ mod static_change_type_indirectly {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedType2 as Type;
|
||||
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
static STATIC_CHANGE_TYPE_INDIRECTLY_1: Type = Type;
|
||||
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
static STATIC_CHANGE_TYPE_INDIRECTLY_2: Option<Type> = None;
|
||||
}
|
||||
|
||||
@@ -90,9 +90,9 @@ pub fn add_field_regular_struct() -> RegularStruct {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn add_field_regular_struct() -> RegularStruct {
|
||||
let struct1 = RegularStruct {
|
||||
@@ -185,15 +185,9 @@ pub mod change_constructor_path_indirectly_regular_struct {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::RegularStruct2 as Struct;
|
||||
|
||||
#[rustc_clean(
|
||||
cfg="cfail2",
|
||||
except="fn_sig,hir_owner,hir_owner_nodes,optimized_mir,typeck"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail2", except="fn_sig,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
cfg="cfail5",
|
||||
except="fn_sig,hir_owner,hir_owner_nodes,optimized_mir,typeck"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail5", except="fn_sig,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub fn function() -> Struct {
|
||||
Struct {
|
||||
@@ -251,15 +245,9 @@ pub mod change_constructor_path_indirectly_tuple_struct {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::TupleStruct2 as Struct;
|
||||
|
||||
#[rustc_clean(
|
||||
cfg="cfail5",
|
||||
except="fn_sig,hir_owner,hir_owner_nodes,optimized_mir,typeck"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail5", except="fn_sig,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
#[rustc_clean(
|
||||
cfg="cfail2",
|
||||
except="fn_sig,hir_owner,hir_owner_nodes,optimized_mir,typeck"
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail2", except="fn_sig,hir_owner_nodes,optimized_mir,typeck")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
pub fn function() -> Struct {
|
||||
Struct(0, 1, 2)
|
||||
|
||||
@@ -51,9 +51,9 @@
|
||||
struct TupleStructFieldType(i32);
|
||||
|
||||
#[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(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
// Note that changing the type of a field does not change the type of the struct or enum, but
|
||||
// adding/removing fields or changing a fields name or visibility does.
|
||||
@@ -68,9 +68,9 @@ struct TupleStructFieldType(
|
||||
struct TupleStructAddField(i32);
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct TupleStructAddField(
|
||||
i32,
|
||||
@@ -86,7 +86,7 @@ struct TupleStructAddField(
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct TupleStructFieldVisibility(pub char);
|
||||
|
||||
@@ -97,9 +97,9 @@ struct TupleStructAddField(
|
||||
struct RecordStructFieldType { x: f32 }
|
||||
|
||||
#[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(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
// Note that changing the type of a field does not change the type of the struct or enum, but
|
||||
// adding/removing fields or changing a fields name or visibility does.
|
||||
@@ -114,9 +114,9 @@ struct RecordStructFieldType {
|
||||
struct RecordStructFieldName { x: f32 }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct RecordStructFieldName { y: f32 }
|
||||
|
||||
@@ -127,9 +127,9 @@ struct RecordStructFieldName { y: f32 }
|
||||
struct RecordStructAddField { x: f32 }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct RecordStructAddField {
|
||||
x: f32,
|
||||
@@ -144,7 +144,7 @@ struct RecordStructFieldVisibility { x: f32 }
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2", except="type_of")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes,type_of")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct RecordStructFieldVisibility { pub x: f32 }
|
||||
|
||||
@@ -155,9 +155,9 @@ struct RecordStructFieldVisibility { pub x: f32 }
|
||||
struct AddLifetimeParameter<'a>(&'a f32, &'a f64);
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of,generics_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of,generics_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of,generics_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of,generics_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct AddLifetimeParameter<'a, 'b>(&'a f32, &'b f64);
|
||||
|
||||
@@ -168,9 +168,9 @@ struct RecordStructFieldVisibility { pub x: f32 }
|
||||
struct AddLifetimeParameterBound<'a, 'b>(&'a f32, &'b f64);
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct AddLifetimeParameterBound<'a, 'b: 'a>(
|
||||
&'a f32,
|
||||
@@ -181,9 +181,9 @@ struct AddLifetimeParameterBound<'a, 'b: 'a>(
|
||||
struct AddLifetimeParameterBoundWhereClause<'a, 'b>(&'a f32, &'b f64);
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct AddLifetimeParameterBoundWhereClause<'a, 'b>(
|
||||
&'a f32,
|
||||
@@ -197,9 +197,9 @@ struct AddLifetimeParameterBoundWhereClause<'a, 'b>(
|
||||
struct AddTypeParameter<T1>(T1, T1);
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of,generics_of,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of,generics_of,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of,generics_of,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of,generics_of,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct AddTypeParameter<T1, T2>(
|
||||
// The field contains the parent's Generics, so it's dirty even though its
|
||||
@@ -215,9 +215,9 @@ struct AddTypeParameter<T1, T2>(
|
||||
struct AddTypeParameterBound<T>(T);
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct AddTypeParameterBound<T: Send>(
|
||||
T
|
||||
@@ -228,9 +228,9 @@ struct AddTypeParameterBound<T: Send>(
|
||||
struct AddTypeParameterBoundWhereClause<T>(T);
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct AddTypeParameterBoundWhereClause<T>(
|
||||
T
|
||||
@@ -257,7 +257,7 @@ struct AddTypeParameterBoundWhereClause<T>(
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub struct Visibility;
|
||||
|
||||
@@ -271,9 +271,9 @@ mod tuple_struct_change_field_type_indirectly {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedType2 as FieldType;
|
||||
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[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")]
|
||||
struct TupleStruct(
|
||||
FieldType
|
||||
@@ -288,9 +288,9 @@ mod record_struct_change_field_type_indirectly {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedType2 as FieldType;
|
||||
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[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")]
|
||||
struct RecordStruct {
|
||||
_x: FieldType
|
||||
@@ -310,9 +310,9 @@ mod change_trait_bound_indirectly {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedTrait2 as Trait;
|
||||
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct Struct<T: Trait>(T);
|
||||
}
|
||||
@@ -324,9 +324,9 @@ mod change_trait_bound_indirectly_in_where_clause {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedTrait2 as Trait;
|
||||
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
struct Struct<T>(T) where T : Trait;
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ trait TraitVisibility { }
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail5", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub trait TraitVisibility { }
|
||||
|
||||
@@ -41,9 +41,9 @@ pub trait TraitVisibility { }
|
||||
trait TraitUnsafety { }
|
||||
|
||||
#[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(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
unsafe trait TraitUnsafety { }
|
||||
|
||||
@@ -55,9 +55,9 @@ trait TraitAddMethod {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub trait TraitAddMethod {
|
||||
fn method();
|
||||
@@ -72,9 +72,9 @@ trait TraitChangeMethodName {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeMethodName {
|
||||
fn methodChanged();
|
||||
@@ -85,9 +85,9 @@ trait TraitChangeMethodName {
|
||||
// Add return type to method
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddReturnType {
|
||||
//---------------------------------------------------------------------
|
||||
//-----------------------------------------------------------
|
||||
//--------------------------
|
||||
//---------------------------------------------------------------------
|
||||
//-----------------------------------------------------------
|
||||
//--------------------------
|
||||
fn method() ;
|
||||
}
|
||||
@@ -98,9 +98,9 @@ trait TraitAddReturnType {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddReturnType {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method() -> u32;
|
||||
}
|
||||
@@ -110,9 +110,9 @@ trait TraitAddReturnType {
|
||||
// Change return type of method
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitChangeReturnType {
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method() -> u32;
|
||||
}
|
||||
@@ -123,9 +123,9 @@ trait TraitChangeReturnType {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeReturnType {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method() -> u64;
|
||||
}
|
||||
@@ -135,9 +135,9 @@ trait TraitChangeReturnType {
|
||||
// Add parameter to method
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddParameterToMethod {
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method( );
|
||||
}
|
||||
@@ -148,9 +148,9 @@ trait TraitAddParameterToMethod {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddParameterToMethod {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method(a: u32);
|
||||
}
|
||||
@@ -161,9 +161,9 @@ trait TraitAddParameterToMethod {
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitChangeMethodParameterName {
|
||||
//------------------------------------------------------
|
||||
//--------------------------------------------------------------
|
||||
//----------------------------------------------------
|
||||
//--------------------------
|
||||
//--------------------------------------------------------------
|
||||
//----------------------------------------------------
|
||||
//--------------------------
|
||||
fn method(a: u32);
|
||||
|
||||
@@ -181,9 +181,9 @@ fn with_default(x: i32) {}
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeMethodParameterName {
|
||||
// FIXME(#38501) This should preferably always be clean.
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[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")]
|
||||
fn method(b: u32);
|
||||
|
||||
@@ -199,9 +199,9 @@ fn with_default(y: i32) {}
|
||||
// Change type of method parameter (i32 => i64)
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitChangeMethodParameterType {
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method(a: i32);
|
||||
}
|
||||
@@ -212,9 +212,9 @@ trait TraitChangeMethodParameterType {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeMethodParameterType {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method(a: i64);
|
||||
}
|
||||
@@ -224,9 +224,9 @@ trait TraitChangeMethodParameterType {
|
||||
// Change type of method parameter (&i32 => &mut i32)
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitChangeMethodParameterTypeRef {
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method(a: & i32);
|
||||
}
|
||||
@@ -237,9 +237,9 @@ trait TraitChangeMethodParameterTypeRef {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeMethodParameterTypeRef {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method(a: &mut i32);
|
||||
}
|
||||
@@ -249,9 +249,9 @@ trait TraitChangeMethodParameterTypeRef {
|
||||
// Change order of method parameters
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitChangeMethodParametersOrder {
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method(a: i32, b: i64);
|
||||
}
|
||||
@@ -262,9 +262,9 @@ trait TraitChangeMethodParametersOrder {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeMethodParametersOrder {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method(b: i64, a: i32);
|
||||
}
|
||||
@@ -274,22 +274,22 @@ trait TraitChangeMethodParametersOrder {
|
||||
// Add default implementation to method
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddMethodAutoImplementation {
|
||||
// -------------------------------------------------------------
|
||||
// ---------------------------------------------------
|
||||
// -------------------------
|
||||
// -------------------------------------------------------------
|
||||
// ---------------------------------------------------
|
||||
// -------------------------
|
||||
fn method() ;
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddMethodAutoImplementation {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[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")]
|
||||
fn method() {}
|
||||
}
|
||||
@@ -304,9 +304,9 @@ trait TraitChangeOrderOfMethods {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeOrderOfMethods {
|
||||
fn method1();
|
||||
@@ -318,9 +318,9 @@ trait TraitChangeOrderOfMethods {
|
||||
// Change mode of self parameter
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitChangeModeSelfRefToMut {
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method(& self);
|
||||
}
|
||||
@@ -331,9 +331,9 @@ trait TraitChangeModeSelfRefToMut {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeModeSelfRefToMut {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method(&mut self);
|
||||
}
|
||||
@@ -342,9 +342,9 @@ trait TraitChangeModeSelfRefToMut {
|
||||
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitChangeModeSelfOwnToMut: Sized {
|
||||
// ----------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------
|
||||
// -------------------------
|
||||
// ----------------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method( self) {}
|
||||
}
|
||||
@@ -355,9 +355,9 @@ fn method( self) {}
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeModeSelfOwnToMut: Sized {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,typeck,optimized_mir", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,typeck,optimized_mir", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,typeck,optimized_mir", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,typeck,optimized_mir", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method(mut self) {}
|
||||
}
|
||||
@@ -366,9 +366,9 @@ fn method(mut self) {}
|
||||
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitChangeModeSelfOwnToRef {
|
||||
// --------------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method( self);
|
||||
}
|
||||
@@ -379,9 +379,9 @@ trait TraitChangeModeSelfOwnToRef {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeModeSelfOwnToRef {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig,generics_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig,generics_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig,generics_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig,generics_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method(&self);
|
||||
}
|
||||
@@ -391,22 +391,22 @@ trait TraitChangeModeSelfOwnToRef {
|
||||
// Add unsafe modifier to method
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddUnsafeModifier {
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method() ;
|
||||
fn method();
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddUnsafeModifier {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
unsafe fn method();
|
||||
}
|
||||
@@ -416,9 +416,9 @@ trait TraitAddUnsafeModifier {
|
||||
// Add extern modifier to method
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddExternModifier {
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method();
|
||||
}
|
||||
@@ -429,9 +429,9 @@ trait TraitAddExternModifier {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddExternModifier {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
extern "C" fn method();
|
||||
}
|
||||
@@ -441,9 +441,9 @@ trait TraitAddExternModifier {
|
||||
// Change extern "C" to extern "stdcall"
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitChangeExternCToRustIntrinsic {
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------
|
||||
// ----------------------------------------------------------
|
||||
// -------------------------
|
||||
extern "C" fn method();
|
||||
}
|
||||
@@ -454,9 +454,9 @@ trait TraitChangeExternCToRustIntrinsic {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeExternCToRustIntrinsic {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
extern "stdcall" fn method();
|
||||
}
|
||||
@@ -466,10 +466,10 @@ trait TraitChangeExternCToRustIntrinsic {
|
||||
// Add type parameter to method
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddTypeParameterToMethod {
|
||||
// --------------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------
|
||||
// ---------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------
|
||||
// ---------------
|
||||
// -------------------------
|
||||
fn method ();
|
||||
@@ -481,10 +481,10 @@ trait TraitAddTypeParameterToMethod {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddTypeParameterToMethod {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of",
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,predicates_of,type_of",
|
||||
cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,predicates_of,type_of",
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,predicates_of,type_of",
|
||||
cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method<T>();
|
||||
@@ -495,9 +495,9 @@ trait TraitAddTypeParameterToMethod {
|
||||
// Add lifetime parameter to method
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddLifetimeParameterToMethod {
|
||||
// --------------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------
|
||||
// -------------------------
|
||||
// --------------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method ();
|
||||
}
|
||||
@@ -508,9 +508,9 @@ trait TraitAddLifetimeParameterToMethod {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddLifetimeParameterToMethod {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig,generics_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig,generics_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig,generics_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig,generics_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method<'a>();
|
||||
}
|
||||
@@ -524,9 +524,9 @@ trait ReferencedTrait1 { }
|
||||
// Add trait bound to method type parameter
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddTraitBoundToMethodTypeParameter {
|
||||
// ---------------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// -------------------------
|
||||
// ---------------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method<T >();
|
||||
}
|
||||
@@ -537,9 +537,9 @@ trait TraitAddTraitBoundToMethodTypeParameter {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddTraitBoundToMethodTypeParameter {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method<T: ReferencedTrait0>();
|
||||
}
|
||||
@@ -549,9 +549,9 @@ trait TraitAddTraitBoundToMethodTypeParameter {
|
||||
// Add builtin bound to method type parameter
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddBuiltinBoundToMethodTypeParameter {
|
||||
// ---------------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// -------------------------
|
||||
// ---------------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method<T >();
|
||||
}
|
||||
@@ -562,9 +562,9 @@ trait TraitAddBuiltinBoundToMethodTypeParameter {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddBuiltinBoundToMethodTypeParameter {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method<T: Sized>();
|
||||
}
|
||||
@@ -575,12 +575,12 @@ trait TraitAddBuiltinBoundToMethodTypeParameter {
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddLifetimeBoundToMethodLifetimeParameter {
|
||||
// -----------
|
||||
// -----------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------
|
||||
// --------------
|
||||
//
|
||||
// -------------------------
|
||||
// -----------
|
||||
// -----------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------
|
||||
// --------------
|
||||
//
|
||||
// -------------------------
|
||||
@@ -594,12 +594,12 @@ trait TraitAddLifetimeBoundToMethodLifetimeParameter {
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddLifetimeBoundToMethodLifetimeParameter {
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,fn_sig,type_of",
|
||||
except="hir_owner_nodes,generics_of,predicates_of,fn_sig,type_of",
|
||||
cfg="cfail2",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,fn_sig,type_of",
|
||||
except="hir_owner_nodes,generics_of,predicates_of,fn_sig,type_of",
|
||||
cfg="cfail5",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
@@ -611,9 +611,9 @@ trait TraitAddLifetimeBoundToMethodLifetimeParameter {
|
||||
// Add second trait bound to method type parameter
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddSecondTraitBoundToMethodTypeParameter {
|
||||
// ---------------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// -------------------------
|
||||
// ---------------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method<T: ReferencedTrait0 >();
|
||||
}
|
||||
@@ -624,9 +624,9 @@ trait TraitAddSecondTraitBoundToMethodTypeParameter {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondTraitBoundToMethodTypeParameter {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method<T: ReferencedTrait0 + ReferencedTrait1>();
|
||||
}
|
||||
@@ -636,9 +636,9 @@ trait TraitAddSecondTraitBoundToMethodTypeParameter {
|
||||
// Add second builtin bound to method type parameter
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddSecondBuiltinBoundToMethodTypeParameter {
|
||||
// ---------------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// -------------------------
|
||||
// ---------------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method<T: Sized >();
|
||||
}
|
||||
@@ -649,9 +649,9 @@ trait TraitAddSecondBuiltinBoundToMethodTypeParameter {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondBuiltinBoundToMethodTypeParameter {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method<T: Sized + Sync>();
|
||||
}
|
||||
@@ -662,12 +662,12 @@ trait TraitAddSecondBuiltinBoundToMethodTypeParameter {
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter {
|
||||
// -----------
|
||||
// -----------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------
|
||||
// --------------
|
||||
//
|
||||
// -------------------------
|
||||
// -----------
|
||||
// -----------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------
|
||||
// --------------
|
||||
//
|
||||
// -------------------------
|
||||
@@ -681,12 +681,12 @@ trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter {
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter {
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,fn_sig,type_of",
|
||||
except="hir_owner_nodes,generics_of,predicates_of,fn_sig,type_of",
|
||||
cfg="cfail2",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,generics_of,predicates_of,fn_sig,type_of",
|
||||
except="hir_owner_nodes,generics_of,predicates_of,fn_sig,type_of",
|
||||
cfg="cfail5",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
@@ -710,9 +710,9 @@ trait TraitAddAssociatedType {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddAssociatedType {
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
@@ -731,9 +731,9 @@ trait TraitAddAssociatedType {
|
||||
// Add trait bound to associated type
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddTraitBoundToAssociatedType {
|
||||
// -------------------------------------------------------------
|
||||
// ---------------------------------------------------
|
||||
// -------------------------
|
||||
// -------------------------------------------------------------
|
||||
// ---------------------------------------------------
|
||||
// -------------------------
|
||||
type Associated ;
|
||||
|
||||
@@ -749,9 +749,9 @@ trait TraitAddTraitBoundToAssociatedType {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddTraitBoundToAssociatedType {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[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")]
|
||||
type Associated: ReferencedTrait0;
|
||||
|
||||
@@ -763,9 +763,9 @@ trait TraitAddTraitBoundToAssociatedType {
|
||||
// Add lifetime bound to associated type
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddLifetimeBoundToAssociatedType<'a> {
|
||||
// -------------------------------------------------------------
|
||||
// ---------------------------------------------------
|
||||
// -------------------------
|
||||
// -------------------------------------------------------------
|
||||
// ---------------------------------------------------
|
||||
// -------------------------
|
||||
type Associated ;
|
||||
|
||||
@@ -778,9 +778,9 @@ trait TraitAddLifetimeBoundToAssociatedType<'a> {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddLifetimeBoundToAssociatedType<'a> {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[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")]
|
||||
type Associated: 'a;
|
||||
|
||||
@@ -792,9 +792,9 @@ trait TraitAddLifetimeBoundToAssociatedType<'a> {
|
||||
// Add default to associated type
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddDefaultToAssociatedType {
|
||||
//--------------------------------------------------------------
|
||||
//----------------------------------------------------
|
||||
//--------------------------
|
||||
//--------------------------------------------------------------
|
||||
//----------------------------------------------------
|
||||
//--------------------------
|
||||
type Associated ;
|
||||
|
||||
@@ -802,14 +802,14 @@ trait TraitAddDefaultToAssociatedType {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddDefaultToAssociatedType {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[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")]
|
||||
type Associated = ReferenceType0;
|
||||
|
||||
@@ -825,9 +825,9 @@ trait TraitAddAssociatedConstant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddAssociatedConstant {
|
||||
const Value: u32;
|
||||
@@ -840,9 +840,9 @@ trait TraitAddAssociatedConstant {
|
||||
// Add initializer to associated constant
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitAddInitializerToAssociatedConstant {
|
||||
//--------------------------------------------------------------
|
||||
//----------------------------------------------------
|
||||
//--------------------------
|
||||
//--------------------------------------------------------------
|
||||
//----------------------------------------------------
|
||||
//--------------------------
|
||||
const Value: u32 ;
|
||||
|
||||
@@ -854,14 +854,14 @@ trait TraitAddInitializerToAssociatedConstant {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddInitializerToAssociatedConstant {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[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")]
|
||||
const Value: u32 = 1;
|
||||
|
||||
@@ -877,9 +877,9 @@ trait TraitAddInitializerToAssociatedConstant {
|
||||
// Change type of associated constant
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
trait TraitChangeTypeOfAssociatedConstant {
|
||||
// ---------------------------------------------------------------------
|
||||
// -----------------------------------------------------------
|
||||
// -------------------------
|
||||
// ---------------------------------------------------------------------
|
||||
// -----------------------------------------------------------
|
||||
// -------------------------
|
||||
const Value: u32;
|
||||
|
||||
@@ -896,9 +896,9 @@ trait TraitChangeTypeOfAssociatedConstant {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeTypeOfAssociatedConstant {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,type_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,type_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
const Value: f64;
|
||||
|
||||
@@ -916,9 +916,9 @@ trait TraitChangeTypeOfAssociatedConstant {
|
||||
trait TraitAddSuperTrait { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSuperTrait : ReferencedTrait0 { }
|
||||
|
||||
@@ -929,9 +929,9 @@ trait TraitAddSuperTrait : ReferencedTrait0 { }
|
||||
trait TraitAddBuiltiBound { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddBuiltiBound : Send { }
|
||||
|
||||
@@ -942,9 +942,9 @@ trait TraitAddBuiltiBound : Send { }
|
||||
trait TraitAddStaticLifetimeBound { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddStaticLifetimeBound : 'static { }
|
||||
|
||||
@@ -955,9 +955,9 @@ trait TraitAddStaticLifetimeBound : 'static { }
|
||||
trait TraitAddTraitAsSecondBound : ReferencedTrait0 { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddTraitAsSecondBound : ReferencedTrait0 + ReferencedTrait1 { }
|
||||
|
||||
@@ -965,9 +965,9 @@ trait TraitAddTraitAsSecondBound : ReferencedTrait0 + ReferencedTrait1 { }
|
||||
trait TraitAddTraitAsSecondBoundFromBuiltin : Send { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddTraitAsSecondBoundFromBuiltin : Send + ReferencedTrait0 { }
|
||||
|
||||
@@ -978,9 +978,9 @@ trait TraitAddTraitAsSecondBoundFromBuiltin : Send + ReferencedTrait0 { }
|
||||
trait TraitAddBuiltinBoundAsSecondBound : ReferencedTrait0 { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddBuiltinBoundAsSecondBound : ReferencedTrait0 + Send { }
|
||||
|
||||
@@ -988,9 +988,9 @@ trait TraitAddBuiltinBoundAsSecondBound : ReferencedTrait0 + Send { }
|
||||
trait TraitAddBuiltinBoundAsSecondBoundFromBuiltin : Send { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddBuiltinBoundAsSecondBoundFromBuiltin: Send + Copy { }
|
||||
|
||||
@@ -1001,9 +1001,9 @@ trait TraitAddBuiltinBoundAsSecondBoundFromBuiltin: Send + Copy { }
|
||||
trait TraitAddStaticBoundAsSecondBound : ReferencedTrait0 { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddStaticBoundAsSecondBound : ReferencedTrait0 + 'static { }
|
||||
|
||||
@@ -1011,9 +1011,9 @@ trait TraitAddStaticBoundAsSecondBound : ReferencedTrait0 + 'static { }
|
||||
trait TraitAddStaticBoundAsSecondBoundFromBuiltin : Send { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddStaticBoundAsSecondBoundFromBuiltin : Send + 'static { }
|
||||
|
||||
@@ -1024,9 +1024,9 @@ trait TraitAddStaticBoundAsSecondBoundFromBuiltin : Send + 'static { }
|
||||
trait TraitAddTypeParameterToTrait { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddTypeParameterToTrait<T> { }
|
||||
|
||||
@@ -1037,9 +1037,9 @@ trait TraitAddTypeParameterToTrait<T> { }
|
||||
trait TraitAddLifetimeParameterToTrait { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddLifetimeParameterToTrait<'a> { }
|
||||
|
||||
@@ -1050,9 +1050,9 @@ trait TraitAddLifetimeParameterToTrait<'a> { }
|
||||
trait TraitAddTraitBoundToTypeParameterOfTrait<T> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0> { }
|
||||
|
||||
@@ -1063,9 +1063,9 @@ trait TraitAddTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0> { }
|
||||
trait TraitAddLifetimeBoundToTypeParameterOfTrait<'a, T> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddLifetimeBoundToTypeParameterOfTrait<'a, T: 'a> { }
|
||||
|
||||
@@ -1076,9 +1076,9 @@ trait TraitAddLifetimeBoundToTypeParameterOfTrait<'a, T: 'a> { }
|
||||
trait TraitAddLifetimeBoundToLifetimeParameterOfTrait<'a, 'b> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddLifetimeBoundToLifetimeParameterOfTrait<'a: 'b, 'b> { }
|
||||
|
||||
@@ -1089,9 +1089,9 @@ trait TraitAddLifetimeBoundToLifetimeParameterOfTrait<'a: 'b, 'b> { }
|
||||
trait TraitAddBuiltinBoundToTypeParameterOfTrait<T> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddBuiltinBoundToTypeParameterOfTrait<T: Send> { }
|
||||
|
||||
@@ -1102,9 +1102,9 @@ trait TraitAddBuiltinBoundToTypeParameterOfTrait<T: Send> { }
|
||||
trait TraitAddSecondTypeParameterToTrait<T> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondTypeParameterToTrait<T, S> { }
|
||||
|
||||
@@ -1115,9 +1115,9 @@ trait TraitAddSecondTypeParameterToTrait<T, S> { }
|
||||
trait TraitAddSecondLifetimeParameterToTrait<'a> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondLifetimeParameterToTrait<'a, 'b> { }
|
||||
|
||||
@@ -1128,9 +1128,9 @@ trait TraitAddSecondLifetimeParameterToTrait<'a, 'b> { }
|
||||
trait TraitAddSecondTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0 + ReferencedTrait1> { }
|
||||
|
||||
@@ -1141,9 +1141,9 @@ trait TraitAddSecondTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0 + Refer
|
||||
trait TraitAddSecondLifetimeBoundToTypeParameterOfTrait<'a, 'b, T: 'a> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondLifetimeBoundToTypeParameterOfTrait<'a, 'b, T: 'a + 'b> { }
|
||||
|
||||
@@ -1154,9 +1154,9 @@ trait TraitAddSecondLifetimeBoundToTypeParameterOfTrait<'a, 'b, T: 'a + 'b> { }
|
||||
trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTrait<'a: 'b, 'b, 'c> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTrait<'a: 'b + 'c, 'b, 'c> { }
|
||||
|
||||
@@ -1167,9 +1167,9 @@ trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTrait<'a: 'b + 'c, 'b, 'c>
|
||||
trait TraitAddSecondBuiltinBoundToTypeParameterOfTrait<T: Send> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondBuiltinBoundToTypeParameterOfTrait<T: Send + Sync> { }
|
||||
|
||||
@@ -1185,9 +1185,9 @@ struct ReferenceType1 {}
|
||||
trait TraitAddTraitBoundToTypeParameterOfTraitWhere<T> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddTraitBoundToTypeParameterOfTraitWhere<T> where T: ReferencedTrait0 { }
|
||||
|
||||
@@ -1198,9 +1198,9 @@ trait TraitAddTraitBoundToTypeParameterOfTraitWhere<T> where T: ReferencedTrait0
|
||||
trait TraitAddLifetimeBoundToTypeParameterOfTraitWhere<'a, T> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddLifetimeBoundToTypeParameterOfTraitWhere<'a, T> where T: 'a { }
|
||||
|
||||
@@ -1211,9 +1211,9 @@ trait TraitAddLifetimeBoundToTypeParameterOfTraitWhere<'a, T> where T: 'a { }
|
||||
trait TraitAddLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b> where 'a: 'b { }
|
||||
|
||||
@@ -1224,9 +1224,9 @@ trait TraitAddLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b> where 'a: 'b
|
||||
trait TraitAddBuiltinBoundToTypeParameterOfTraitWhere<T> { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send { }
|
||||
|
||||
@@ -1237,9 +1237,9 @@ trait TraitAddBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send { }
|
||||
trait TraitAddSecondTraitBoundToTypeParameterOfTraitWhere<T> where T: ReferencedTrait0 { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondTraitBoundToTypeParameterOfTraitWhere<T>
|
||||
where T: ReferencedTrait0 + ReferencedTrait1 { }
|
||||
@@ -1251,9 +1251,9 @@ trait TraitAddSecondTraitBoundToTypeParameterOfTraitWhere<T>
|
||||
trait TraitAddSecondLifetimeBoundToTypeParameterOfTraitWhere<'a, 'b, T> where T: 'a { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondLifetimeBoundToTypeParameterOfTraitWhere<'a, 'b, T> where T: 'a + 'b { }
|
||||
|
||||
@@ -1264,9 +1264,9 @@ trait TraitAddSecondLifetimeBoundToTypeParameterOfTraitWhere<'a, 'b, T> where T:
|
||||
trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b, 'c> where 'a: 'b { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b, 'c> where 'a: 'b + 'c { }
|
||||
|
||||
@@ -1277,9 +1277,9 @@ trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b, 'c> whe
|
||||
trait TraitAddSecondBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send { }
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitAddSecondBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send + Sync { }
|
||||
|
||||
@@ -1296,9 +1296,9 @@ mod change_return_type_of_method_indirectly_use {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeReturnType {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method() -> ReturnType;
|
||||
}
|
||||
@@ -1318,9 +1318,9 @@ mod change_method_parameter_type_indirectly_by_use {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeArgType {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method(a: ArgType);
|
||||
}
|
||||
@@ -1340,9 +1340,9 @@ mod change_method_parameter_type_bound_indirectly_by_use {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeBoundOfMethodTypeParameter {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method<T: Bound>(a: T);
|
||||
}
|
||||
@@ -1363,9 +1363,9 @@ mod change_method_parameter_type_bound_indirectly_by_use_where {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeBoundOfMethodTypeParameterWhere {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method<T>(a: T) where T: Bound;
|
||||
}
|
||||
@@ -1380,9 +1380,9 @@ mod change_method_type_parameter_bound_indirectly {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedTrait1 as Bound;
|
||||
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeTraitBound<T: Bound> {
|
||||
fn method(a: T);
|
||||
@@ -1399,9 +1399,9 @@ mod change_method_type_parameter_bound_indirectly_where {
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
use super::ReferencedTrait1 as Bound;
|
||||
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,predicates_of", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
trait TraitChangeTraitBoundWhere<T> where T: Bound {
|
||||
fn method(a: T);
|
||||
|
||||
@@ -32,9 +32,9 @@ fn method_name() { }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub trait ChangeMethodNameTrait {
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
@@ -43,9 +43,9 @@ pub trait ChangeMethodNameTrait {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl ChangeMethodNameTrait for Foo {
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
@@ -141,18 +141,18 @@ pub trait ChangeMethodSelfnessTrait {
|
||||
}
|
||||
|
||||
#[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(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl ChangeMethodSelfnessTrait for Foo {
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,associated_item,generics_of,fn_sig,typeck,optimized_mir",
|
||||
except="hir_owner_nodes,associated_item,generics_of,fn_sig,typeck,optimized_mir",
|
||||
cfg="cfail2",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,associated_item,generics_of,fn_sig,typeck,optimized_mir",
|
||||
except="hir_owner_nodes,associated_item,generics_of,fn_sig,typeck,optimized_mir",
|
||||
cfg="cfail5",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
@@ -179,18 +179,18 @@ pub trait RemoveMethodSelfnessTrait {
|
||||
}
|
||||
|
||||
#[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(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl RemoveMethodSelfnessTrait for Foo {
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,associated_item,generics_of,fn_sig,typeck,optimized_mir",
|
||||
except="hir_owner_nodes,associated_item,generics_of,fn_sig,typeck,optimized_mir",
|
||||
cfg="cfail2",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,associated_item,generics_of,fn_sig,typeck,optimized_mir",
|
||||
except="hir_owner_nodes,associated_item,generics_of,fn_sig,typeck,optimized_mir",
|
||||
cfg="cfail5",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
@@ -206,9 +206,9 @@ pub trait ChangeMethodSelfmutnessTrait {
|
||||
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl ChangeMethodSelfmutnessTrait for Foo {
|
||||
// -----------------------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------------------
|
||||
// -------------------------
|
||||
// -----------------------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method_name(& self) {}
|
||||
}
|
||||
@@ -224,9 +224,9 @@ pub trait ChangeMethodSelfmutnessTrait {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl ChangeMethodSelfmutnessTrait for Foo {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method_name(&mut self) {}
|
||||
}
|
||||
@@ -249,9 +249,9 @@ pub trait ChangeItemKindTrait {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl ChangeItemKindTrait for Foo {
|
||||
type name = ();
|
||||
@@ -277,9 +277,9 @@ pub trait RemoveItemTrait {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl RemoveItemTrait for Foo {
|
||||
type TypeName = ();
|
||||
@@ -304,9 +304,9 @@ pub trait AddItemTrait {
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,associated_item_def_ids", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl AddItemTrait for Foo {
|
||||
type TypeName = ();
|
||||
@@ -317,9 +317,9 @@ fn method_name() { }
|
||||
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
pub trait ChangeHasValueTrait {
|
||||
//--------------------------------------------------------------
|
||||
//----------------------------------------------------
|
||||
//--------------------------
|
||||
//--------------------------------------------------------------
|
||||
//----------------------------------------------------
|
||||
//--------------------------
|
||||
fn method_name() ;
|
||||
}
|
||||
@@ -330,14 +330,14 @@ fn method_name() { }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
pub trait ChangeHasValueTrait {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[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")]
|
||||
fn method_name() { }
|
||||
}
|
||||
@@ -359,9 +359,9 @@ pub trait AddDefaultTrait {
|
||||
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl AddDefaultTrait for Foo {
|
||||
// -------------------------------------------------------------
|
||||
// ---------------------------------------------------
|
||||
// -------------------------
|
||||
// -------------------------------------------------------------
|
||||
// ---------------------------------------------------
|
||||
// -------------------------
|
||||
fn method_name() { }
|
||||
}
|
||||
@@ -372,9 +372,9 @@ fn method_name() { }
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl AddDefaultTrait for Foo {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail2")]
|
||||
#[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")]
|
||||
default fn method_name() { }
|
||||
}
|
||||
@@ -388,9 +388,9 @@ pub trait AddArgumentTrait {
|
||||
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl AddArgumentTrait for Foo {
|
||||
// -----------------------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------------------
|
||||
// -------------------------
|
||||
// -----------------------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method_name(&self ) { }
|
||||
}
|
||||
@@ -406,9 +406,9 @@ pub trait AddArgumentTrait {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl AddArgumentTrait for Foo {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method_name(&self, _x: u32) { }
|
||||
}
|
||||
@@ -422,9 +422,9 @@ pub trait ChangeArgumentTypeTrait {
|
||||
|
||||
#[cfg(any(cfail1,cfail4))]
|
||||
impl ChangeArgumentTypeTrait for Foo {
|
||||
// -----------------------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------------------
|
||||
// -------------------------
|
||||
// -----------------------------------------------------------------------------------------
|
||||
// -------------------------------------------------------------------------------
|
||||
// -------------------------
|
||||
fn method_name(&self, _x: u32 ) { }
|
||||
}
|
||||
@@ -440,9 +440,9 @@ pub trait ChangeArgumentTypeTrait {
|
||||
#[rustc_clean(cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl ChangeArgumentTypeTrait for Foo {
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,fn_sig,typeck,optimized_mir", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
fn method_name(&self, _x: char) { }
|
||||
}
|
||||
@@ -462,18 +462,18 @@ fn id(t: u32) -> u32 { t }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,impl_trait_ref", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,impl_trait_ref", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,generics_of,impl_trait_ref", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,generics_of,impl_trait_ref", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl<TTT> AddTypeParameterToImpl<TTT> for Bar<TTT> {
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,generics_of,fn_sig,type_of,typeck,optimized_mir",
|
||||
except="hir_owner_nodes,generics_of,fn_sig,type_of,typeck,optimized_mir",
|
||||
cfg="cfail2",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(
|
||||
except="hir_owner,hir_owner_nodes,generics_of,fn_sig,type_of,typeck,optimized_mir",
|
||||
except="hir_owner_nodes,generics_of,fn_sig,type_of,typeck,optimized_mir",
|
||||
cfg="cfail5",
|
||||
)]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
@@ -493,9 +493,9 @@ fn id(self) -> Self { self }
|
||||
}
|
||||
|
||||
#[cfg(not(any(cfail1,cfail4)))]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,impl_trait_ref", cfg="cfail2")]
|
||||
#[rustc_clean(except="hir_owner_nodes,impl_trait_ref", cfg="cfail2")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
#[rustc_clean(except="hir_owner,hir_owner_nodes,impl_trait_ref", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes,impl_trait_ref", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl ChangeSelfTypeOfImpl for u64 {
|
||||
#[rustc_clean(except="fn_sig,typeck,optimized_mir", cfg="cfail2")]
|
||||
@@ -518,9 +518,9 @@ fn id(self) -> Self { self }
|
||||
}
|
||||
|
||||
#[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(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl<T: 'static> AddLifetimeBoundToImplParameter for T {
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
@@ -543,9 +543,9 @@ fn id(self) -> Self { self }
|
||||
}
|
||||
|
||||
#[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(except="hir_owner,hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(except="hir_owner_nodes", cfg="cfail5")]
|
||||
#[rustc_clean(cfg="cfail6")]
|
||||
impl<T: Clone> AddTraitBoundToImplParameter for T {
|
||||
#[rustc_clean(cfg="cfail2")]
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
type ChangePrimitiveType = i32;
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type ChangePrimitiveType = i64;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
type ChangeMutability = &'static i32;
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type ChangeMutability = &'static mut i32;
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
type ChangeLifetime<'a> = (&'static i32, &'a i32);
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type ChangeLifetime<'a> = (&'a i32, &'a i32);
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
type ChangeTypeStruct = Struct1;
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type ChangeTypeStruct = Struct2;
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
type ChangeTypeTuple = (u32, u64);
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type ChangeTypeTuple = (u32, i64);
|
||||
|
||||
@@ -91,7 +91,7 @@ enum Enum2 {
|
||||
type ChangeTypeEnum = Enum1;
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type ChangeTypeEnum = Enum2;
|
||||
|
||||
@@ -102,7 +102,7 @@ enum Enum2 {
|
||||
type AddTupleField = (i32, i64);
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type AddTupleField = (i32, i64, i16);
|
||||
|
||||
@@ -113,7 +113,7 @@ enum Enum2 {
|
||||
type ChangeNestedTupleField = (i32, (i64, i16));
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type ChangeNestedTupleField = (i32, (i64, i8));
|
||||
|
||||
@@ -124,7 +124,7 @@ enum Enum2 {
|
||||
type AddTypeParam<T1> = (T1, T1);
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type AddTypeParam<T1, T2> = (T1, T2);
|
||||
|
||||
@@ -135,7 +135,7 @@ enum Enum2 {
|
||||
type AddTypeParamBound<T1> = (T1, u32);
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type AddTypeParamBound<T1: Clone> = (T1, u32);
|
||||
|
||||
@@ -146,7 +146,7 @@ enum Enum2 {
|
||||
type AddTypeParamBoundWhereClause<T1> where T1: Clone = (T1, u32);
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type AddTypeParamBoundWhereClause<T1> where T1: Clone+Copy = (T1, u32);
|
||||
|
||||
@@ -157,7 +157,7 @@ enum Enum2 {
|
||||
type AddLifetimeParam<'a> = (&'a u32, &'a u32);
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type AddLifetimeParam<'a, 'b> = (&'a u32, &'b u32);
|
||||
|
||||
@@ -168,7 +168,7 @@ enum Enum2 {
|
||||
type AddLifetimeParamBound<'a, 'b> = (&'a u32, &'b u32);
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type AddLifetimeParamBound<'a, 'b: 'a> = (&'a u32, &'b u32);
|
||||
|
||||
@@ -181,7 +181,7 @@ enum Enum2 {
|
||||
= (&'a u32, &'b u32, &'c u32);
|
||||
|
||||
#[cfg(not(cfail1))]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type AddLifetimeParamBoundWhereClause<'a, 'b, 'c>
|
||||
where 'b: 'a,
|
||||
@@ -200,7 +200,7 @@ mod change_trait_bound_indirectly {
|
||||
#[cfg(not(cfail1))]
|
||||
use super::ReferencedTrait2 as Trait;
|
||||
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type ChangeTraitBoundIndirectly<T: Trait> = (T, u32);
|
||||
}
|
||||
@@ -214,7 +214,7 @@ mod change_trait_bound_indirectly_in_where_clause {
|
||||
#[cfg(not(cfail1))]
|
||||
use super::ReferencedTrait2 as Trait;
|
||||
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail2", except="hir_owner_nodes")]
|
||||
#[rustc_clean(cfg="cfail3")]
|
||||
type ChangeTraitBoundIndirectly<T> where T : Trait = (T, u32);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user