Replace Hir with hir_owner in tests

This commit is contained in:
John Kåre Alsaker 2020-02-12 16:00:15 +01:00
parent c0b60c428a
commit 274fb668b4
23 changed files with 472 additions and 472 deletions

View file

@ -55,8 +55,8 @@ mod change_callee_indirectly_function {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::callee2 as callee; use super::callee2 as callee;
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
@ -152,7 +152,7 @@ pub fn change_to_ufcs() {
#[rustc_clean(cfg="cfail2", except="hir_owner_items,mir_built,optimized_mir,typeck_tables_of")] #[rustc_clean(cfg="cfail2", except="hir_owner_items,mir_built,optimized_mir,typeck_tables_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
// One might think this would be expanded in the hir_owner_items/Mir, but it actually // One might think this would be expanded in the hir_owner_items/Mir, but it actually
// results in slightly different Hir/Mir. // results in slightly different hir_owner/Mir.
pub fn change_to_ufcs() { pub fn change_to_ufcs() {
let s = Struct; let s = Struct;
Struct::method1(&s, 'x', true); Struct::method1(&s, 'x', true);

View file

@ -19,7 +19,7 @@
const CONST_VISIBILITY: u8 = 0; const CONST_VISIBILITY: u8 = 0;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub const CONST_VISIBILITY: u8 = 0; pub const CONST_VISIBILITY: u8 = 0;
@ -29,7 +29,7 @@ pub const CONST_VISIBILITY: u8 = 0;
const CONST_CHANGE_TYPE_1: i32 = 0; const CONST_CHANGE_TYPE_1: i32 = 0;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
const CONST_CHANGE_TYPE_1: u32 = 0; const CONST_CHANGE_TYPE_1: u32 = 0;
@ -39,7 +39,7 @@ const CONST_CHANGE_TYPE_1: u32 = 0;
const CONST_CHANGE_TYPE_2: Option<u32> = None; const CONST_CHANGE_TYPE_2: Option<u32> = None;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
const CONST_CHANGE_TYPE_2: Option<u64> = None; const CONST_CHANGE_TYPE_2: Option<u64> = None;
@ -99,11 +99,11 @@ mod const_change_type_indirectly {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedType2 as Type; use super::ReferencedType2 as Type;
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
const CONST_CHANGE_TYPE_INDIRECTLY_1: Type = Type; const CONST_CHANGE_TYPE_INDIRECTLY_1: Type = Type;
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
const CONST_CHANGE_TYPE_INDIRECTLY_2: Option<Type> = None; const CONST_CHANGE_TYPE_INDIRECTLY_2: Option<Type> = None;
} }

View file

@ -139,7 +139,7 @@ pub mod change_constructor_path_indirectly_struct_like {
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="fn_sig,Hir,hir_owner_items,optimized_mir,mir_built,\ except="fn_sig,hir_owner,hir_owner_items,optimized_mir,mir_built,\
typeck_tables_of" typeck_tables_of"
)] )]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
@ -232,7 +232,7 @@ pub mod change_constructor_path_indirectly_tuple_like {
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="fn_sig,Hir,hir_owner_items,optimized_mir,mir_built,\ except="fn_sig,hir_owner,hir_owner_items,optimized_mir,mir_built,\
typeck_tables_of" typeck_tables_of"
)] )]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
@ -309,7 +309,7 @@ pub mod change_constructor_path_indirectly_c_like {
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="fn_sig,Hir,hir_owner_items,optimized_mir,mir_built,\ except="fn_sig,hir_owner,hir_owner_items,optimized_mir,mir_built,\
typeck_tables_of" typeck_tables_of"
)] )]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]

View file

@ -26,7 +26,7 @@
enum EnumVisibility { A } enum EnumVisibility { A }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub enum EnumVisibility { pub enum EnumVisibility {
A A
@ -42,7 +42,7 @@ enum EnumChangeNameCStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumChangeNameCStyleVariant { enum EnumChangeNameCStyleVariant {
Variant1, Variant1,
@ -59,7 +59,7 @@ enum EnumChangeNameTupleStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumChangeNameTupleStyleVariant { enum EnumChangeNameTupleStyleVariant {
Variant1, Variant1,
@ -76,7 +76,7 @@ enum EnumChangeNameStructStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumChangeNameStructStyleVariant { enum EnumChangeNameStructStyleVariant {
Variant1, Variant1,
@ -109,7 +109,7 @@ enum EnumChangeValueCStyleVariant1 {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumChangeValueCStyleVariant1 { enum EnumChangeValueCStyleVariant1 {
Variant1, Variant1,
@ -125,7 +125,7 @@ enum EnumAddCStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumAddCStyleVariant { enum EnumAddCStyleVariant {
Variant1, Variant1,
@ -142,7 +142,7 @@ enum EnumRemoveCStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumRemoveCStyleVariant { enum EnumRemoveCStyleVariant {
Variant1, Variant1,
@ -157,7 +157,7 @@ enum EnumAddTupleStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumAddTupleStyleVariant { enum EnumAddTupleStyleVariant {
Variant1, Variant1,
@ -174,7 +174,7 @@ enum EnumRemoveTupleStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumRemoveTupleStyleVariant { enum EnumRemoveTupleStyleVariant {
Variant1, Variant1,
@ -189,7 +189,7 @@ enum EnumAddStructStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumAddStructStyleVariant { enum EnumAddStructStyleVariant {
Variant1, Variant1,
@ -206,7 +206,7 @@ enum EnumRemoveStructStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumRemoveStructStyleVariant { enum EnumRemoveStructStyleVariant {
Variant1, Variant1,
@ -221,7 +221,7 @@ enum EnumChangeFieldTypeTupleStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumChangeFieldTypeTupleStyleVariant { enum EnumChangeFieldTypeTupleStyleVariant {
Variant1(u32, Variant1(u32,
@ -238,7 +238,7 @@ enum EnumChangeFieldTypeStructStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumChangeFieldTypeStructStyleVariant { enum EnumChangeFieldTypeStructStyleVariant {
Variant1, Variant1,
@ -257,7 +257,7 @@ enum EnumChangeFieldNameStructStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumChangeFieldNameStructStyleVariant { enum EnumChangeFieldNameStructStyleVariant {
Variant1 { a: u32, c: u32 }, Variant1 { a: u32, c: u32 },
@ -272,7 +272,7 @@ enum EnumChangeOrderTupleStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumChangeOrderTupleStyleVariant { enum EnumChangeOrderTupleStyleVariant {
Variant1( Variant1(
@ -289,7 +289,7 @@ enum EnumChangeFieldOrderStructStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumChangeFieldOrderStructStyleVariant { enum EnumChangeFieldOrderStructStyleVariant {
Variant1 { b: f32, a: u32 }, Variant1 { b: f32, a: u32 },
@ -304,7 +304,7 @@ enum EnumAddFieldTupleStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumAddFieldTupleStyleVariant { enum EnumAddFieldTupleStyleVariant {
Variant1(u32, u32, u32), Variant1(u32, u32, u32),
@ -319,7 +319,7 @@ enum EnumAddFieldStructStyleVariant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumAddFieldStructStyleVariant { enum EnumAddFieldStructStyleVariant {
Variant1 { a: u32, b: u32, c: u32 }, Variant1 { a: u32, b: u32, c: u32 },
@ -335,7 +335,7 @@ enum EnumAddMustUse {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
#[must_use] #[must_use]
enum EnumAddMustUse { enum EnumAddMustUse {
@ -353,7 +353,7 @@ enum EnumAddReprC {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
#[repr(C)] #[repr(C)]
enum EnumAddReprC { enum EnumAddReprC {
@ -531,7 +531,7 @@ enum EnumSwapUsageTypeParameters<A, B> {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumSwapUsageTypeParameters<A, B> { enum EnumSwapUsageTypeParameters<A, B> {
Variant1 { Variant1 {
@ -552,7 +552,7 @@ enum EnumSwapUsageLifetimeParameters<'a, 'b> {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum EnumSwapUsageLifetimeParameters<'a, 'b> { enum EnumSwapUsageLifetimeParameters<'a, 'b> {
Variant1 { Variant1 {
@ -577,7 +577,7 @@ mod change_field_type_indirectly_tuple_style {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedType2 as FieldType; use super::ReferencedType2 as FieldType;
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum TupleStyle { enum TupleStyle {
Variant1( Variant1(
@ -595,7 +595,7 @@ mod change_field_type_indirectly_struct_style {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedType2 as FieldType; use super::ReferencedType2 as FieldType;
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum StructStyle { enum StructStyle {
Variant1 { Variant1 {
@ -618,7 +618,7 @@ mod change_trait_bound_indirectly {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait2 as Trait; use super::ReferencedTrait2 as Trait;
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,predicates_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,predicates_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum Enum<T: Trait> { enum Enum<T: Trait> {
Variant1(T) Variant1(T)
@ -634,7 +634,7 @@ mod change_trait_bound_indirectly_where {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait2 as Trait; use super::ReferencedTrait2 as Trait;
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,predicates_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,predicates_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
enum Enum<T> where T: Trait { enum Enum<T> where T: Trait {
Variant1(T) Variant1(T)

View file

@ -8,7 +8,7 @@
// Case 1: The function body is not exported to metadata. If the body changes, // Case 1: The function body is not exported to metadata. If the body changes,
// the hash of the hir_owner_items node should change, but not the hash of // the hash of the hir_owner_items node should change, but not the hash of
// either the Hir or the Metadata node. // either the hir_owner or the Metadata node.
#[cfg(cfail1)] #[cfg(cfail1)]
pub fn body_not_exported_to_metadata() -> u32 { pub fn body_not_exported_to_metadata() -> u32 {
@ -25,7 +25,7 @@ pub fn body_not_exported_to_metadata() -> u32 {
// Case 2: The function body *is* exported to metadata because the function is // Case 2: The function body *is* exported to metadata because the function is
// marked as #[inline]. Only the hash of the Hir depnode should be // marked as #[inline]. Only the hash of the hir_owner depnode should be
// unaffected by a change to the body. // unaffected by a change to the body.
#[cfg(cfail1)] #[cfg(cfail1)]
@ -45,7 +45,7 @@ pub fn body_exported_to_metadata_because_of_inline() -> u32 {
// Case 2: The function body *is* exported to metadata because the function is // Case 2: The function body *is* exported to metadata because the function is
// generic. Only the hash of the Hir depnode should be // generic. Only the hash of the hir_owner depnode should be
// unaffected by a change to the body. // unaffected by a change to the body.
#[cfg(cfail1)] #[cfg(cfail1)]

View file

@ -23,7 +23,7 @@ pub fn add_parameter() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", #[rustc_clean(cfg = "cfail2",
except = "Hir, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")] except = "hir_owner, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn add_parameter(p: i32) {} pub fn add_parameter(p: i32) {}
@ -34,7 +34,7 @@ pub fn add_parameter(p: i32) {}
pub fn add_return_type() {} pub fn add_return_type() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn add_return_type() -> () {} pub fn add_return_type() -> () {}
@ -46,7 +46,7 @@ pub fn type_of_parameter(p: i32) {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", #[rustc_clean(cfg = "cfail2",
except = "Hir, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")] except = "hir_owner, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn type_of_parameter(p: i64) {} pub fn type_of_parameter(p: i64) {}
@ -58,7 +58,7 @@ pub fn type_of_parameter_ref(p: &i32) {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", #[rustc_clean(cfg = "cfail2",
except = "Hir, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")] except = "hir_owner, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn type_of_parameter_ref(p: &mut i32) {} pub fn type_of_parameter_ref(p: &mut i32) {}
@ -70,7 +70,7 @@ pub fn order_of_parameters(p1: i32, p2: i64) {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", #[rustc_clean(cfg = "cfail2",
except = "Hir, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")] except = "hir_owner, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn order_of_parameters(p2: i64, p1: i32) {} pub fn order_of_parameters(p2: i64, p1: i32) {}
@ -82,7 +82,7 @@ pub fn make_unsafe() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", #[rustc_clean(cfg = "cfail2",
except = "Hir, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")] except = "hir_owner, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub unsafe fn make_unsafe() {} pub unsafe fn make_unsafe() {}
@ -93,7 +93,7 @@ pub unsafe fn make_unsafe() {}
pub fn make_extern() {} pub fn make_extern() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items, typeck_tables_of, fn_sig")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items, typeck_tables_of, fn_sig")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub extern "C" fn make_extern() {} pub extern "C" fn make_extern() {}
@ -105,7 +105,7 @@ pub fn type_parameter() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", #[rustc_clean(cfg = "cfail2",
except = "Hir, hir_owner_items, generics_of, type_of, predicates_of")] except = "hir_owner, hir_owner_items, generics_of, type_of, predicates_of")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn type_parameter<T>() {} pub fn type_parameter<T>() {}
@ -116,7 +116,7 @@ pub fn type_parameter<T>() {}
pub fn lifetime_parameter() {} pub fn lifetime_parameter() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items, generics_of")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items, generics_of")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn lifetime_parameter<'a>() {} pub fn lifetime_parameter<'a>() {}
@ -127,7 +127,7 @@ pub fn lifetime_parameter<'a>() {}
pub fn trait_bound<T>() {} pub fn trait_bound<T>() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items, predicates_of")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items, predicates_of")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn trait_bound<T: Eq>() {} pub fn trait_bound<T: Eq>() {}
@ -138,7 +138,7 @@ pub fn trait_bound<T: Eq>() {}
pub fn builtin_bound<T>() {} pub fn builtin_bound<T>() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items, predicates_of")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items, predicates_of")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn builtin_bound<T: Send>() {} pub fn builtin_bound<T: Send>() {}
@ -150,7 +150,7 @@ pub fn lifetime_bound<'a, T>() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", #[rustc_clean(cfg = "cfail2",
except = "Hir, hir_owner_items, generics_of, type_of, predicates_of")] except = "hir_owner, hir_owner_items, generics_of, type_of, predicates_of")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn lifetime_bound<'a, T: 'a>() {} pub fn lifetime_bound<'a, T: 'a>() {}
@ -161,7 +161,7 @@ pub fn lifetime_bound<'a, T: 'a>() {}
pub fn second_trait_bound<T: Eq>() {} pub fn second_trait_bound<T: Eq>() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items, predicates_of")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items, predicates_of")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn second_trait_bound<T: Eq + Clone>() {} pub fn second_trait_bound<T: Eq + Clone>() {}
@ -172,7 +172,7 @@ pub fn second_trait_bound<T: Eq + Clone>() {}
pub fn second_builtin_bound<T: Send>() {} pub fn second_builtin_bound<T: Send>() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items, predicates_of")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items, predicates_of")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn second_builtin_bound<T: Send + Sized>() {} pub fn second_builtin_bound<T: Send + Sized>() {}
@ -184,7 +184,7 @@ pub fn second_lifetime_bound<'a, 'b, T: 'a>() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", #[rustc_clean(cfg = "cfail2",
except = "Hir, hir_owner_items, generics_of, type_of, predicates_of")] except = "hir_owner, hir_owner_items, generics_of, type_of, predicates_of")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn second_lifetime_bound<'a, 'b, T: 'a + 'b>() {} pub fn second_lifetime_bound<'a, 'b, T: 'a + 'b>() {}
@ -195,7 +195,7 @@ pub fn second_lifetime_bound<'a, 'b, T: 'a + 'b>() {}
pub fn inline() {} pub fn inline() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
#[inline] #[inline]
pub fn inline() {} pub fn inline() {}
@ -208,7 +208,7 @@ pub fn inline() {}
pub fn inline_never() {} pub fn inline_never() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
#[inline(never)] #[inline(never)]
pub fn inline_never() {} pub fn inline_never() {}
@ -220,7 +220,7 @@ pub fn inline_never() {}
pub fn no_mangle() {} pub fn no_mangle() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
#[no_mangle] #[no_mangle]
pub fn no_mangle() {} pub fn no_mangle() {}
@ -232,7 +232,7 @@ pub fn no_mangle() {}
pub fn linkage() {} pub fn linkage() {}
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
#[linkage = "weak_odr"] #[linkage = "weak_odr"]
pub fn linkage() {} pub fn linkage() {}
@ -246,7 +246,7 @@ pub fn return_impl_trait() -> i32 {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items, typeck_tables_of, fn_sig")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items, typeck_tables_of, fn_sig")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn return_impl_trait() -> impl Clone { pub fn return_impl_trait() -> impl Clone {
0 0
@ -280,7 +280,7 @@ pub mod change_return_type_indirectly {
use super::ReferencedType2 as ReturnType; use super::ReferencedType2 as ReturnType;
#[rustc_clean(cfg = "cfail2", #[rustc_clean(cfg = "cfail2",
except = "Hir, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")] except = "hir_owner, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn indirect_return_type() -> ReturnType { pub fn indirect_return_type() -> ReturnType {
ReturnType {} ReturnType {}
@ -297,7 +297,7 @@ pub mod change_parameter_type_indirectly {
use super::ReferencedType2 as ParameterType; use super::ReferencedType2 as ParameterType;
#[rustc_clean(cfg = "cfail2", #[rustc_clean(cfg = "cfail2",
except = "Hir, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")] except = "hir_owner, hir_owner_items, mir_built, optimized_mir, typeck_tables_of, fn_sig")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn indirect_parameter_type(p: ParameterType) {} pub fn indirect_parameter_type(p: ParameterType) {}
} }
@ -314,7 +314,7 @@ pub mod change_trait_bound_indirectly {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait2 as Trait; use super::ReferencedTrait2 as Trait;
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items, predicates_of")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items, predicates_of")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn indirect_trait_bound<T: Trait>(p: T) {} pub fn indirect_trait_bound<T: Trait>(p: T) {}
} }
@ -328,7 +328,7 @@ pub mod change_trait_bound_indirectly_in_where_clause {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait2 as Trait; use super::ReferencedTrait2 as Trait;
#[rustc_clean(cfg = "cfail2", except = "Hir, hir_owner_items, predicates_of")] #[rustc_clean(cfg = "cfail2", except = "hir_owner, hir_owner_items, predicates_of")]
#[rustc_clean(cfg = "cfail3")] #[rustc_clean(cfg = "cfail3")]
pub fn indirect_trait_bound_where<T>(p: T) pub fn indirect_trait_bound_where<T>(p: T)
where where

View file

@ -20,8 +20,8 @@ fn change_simple_index(slice: &[u32]) -> u32 {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
fn change_simple_index(slice: &[u32]) -> u32 { fn change_simple_index(slice: &[u32]) -> u32 {
@ -37,8 +37,8 @@ fn change_lower_bound(slice: &[u32]) -> &[u32] {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
fn change_lower_bound(slice: &[u32]) -> &[u32] { fn change_lower_bound(slice: &[u32]) -> &[u32] {
@ -54,8 +54,8 @@ fn change_upper_bound(slice: &[u32]) -> &[u32] {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
fn change_upper_bound(slice: &[u32]) -> &[u32] { fn change_upper_bound(slice: &[u32]) -> &[u32] {
@ -71,8 +71,8 @@ fn add_lower_bound(slice: &[u32]) -> &[u32] {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
fn add_lower_bound(slice: &[u32]) -> &[u32] { fn add_lower_bound(slice: &[u32]) -> &[u32] {
@ -88,8 +88,8 @@ fn add_upper_bound(slice: &[u32]) -> &[u32] {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
fn add_upper_bound(slice: &[u32]) -> &[u32] { fn add_upper_bound(slice: &[u32]) -> &[u32] {
@ -105,8 +105,8 @@ fn change_mutability(slice: &mut [u32]) -> u32 {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
fn change_mutability(slice: &mut [u32]) -> u32 { fn change_mutability(slice: &mut [u32]) -> u32 {
@ -122,8 +122,8 @@ fn exclusive_to_inclusive_range(slice: &[u32]) -> &[u32] {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
fn exclusive_to_inclusive_range(slice: &[u32]) -> &[u32] { fn exclusive_to_inclusive_range(slice: &[u32]) -> &[u32] {

View file

@ -23,7 +23,7 @@ impl Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,associated_item_def_ids")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,associated_item_def_ids")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl Foo { impl Foo {
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
@ -85,10 +85,10 @@ impl Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl Foo { impl Foo {
#[rustc_clean(cfg="cfail2", except="associated_item,Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="associated_item,hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
fn method_privacy() { } fn method_privacy() { }
} }
@ -100,7 +100,7 @@ impl Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl Foo { impl Foo {
#[rustc_dirty(cfg="cfail2", except="type_of,predicates_of,promoted_mir")] #[rustc_dirty(cfg="cfail2", except="type_of,predicates_of,promoted_mir")]
@ -120,7 +120,7 @@ impl Foo {
impl Foo { impl Foo {
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="Hir,hir_owner_items,fn_sig,typeck_tables_of,optimized_mir,mir_built" except="hir_owner,hir_owner_items,fn_sig,typeck_tables_of,optimized_mir,mir_built"
)] )]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub fn method_selfmutness(&mut self) { } pub fn method_selfmutness(&mut self) { }
@ -135,7 +135,7 @@ impl Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,associated_item_def_ids")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,associated_item_def_ids")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl Foo { impl Foo {
#[rustc_clean(cfg="cfail2")] #[rustc_clean(cfg="cfail2")]
@ -160,7 +160,7 @@ impl Foo {
impl Foo { impl Foo {
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="Hir,hir_owner_items,fn_sig,typeck_tables_of,optimized_mir,mir_built" except="hir_owner,hir_owner_items,fn_sig,typeck_tables_of,optimized_mir,mir_built"
)] )]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub fn add_method_parameter(&self, _: i32) { } pub fn add_method_parameter(&self, _: i32) { }
@ -197,7 +197,7 @@ impl Foo {
impl Foo { impl Foo {
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="Hir,hir_owner_items,fn_sig,optimized_mir,mir_built,typeck_tables_of")] except="hir_owner,hir_owner_items,fn_sig,optimized_mir,mir_built,typeck_tables_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub fn change_method_return_type(&self) -> u8 { 0 } pub fn change_method_return_type(&self) -> u8 { 0 }
} }
@ -214,7 +214,7 @@ impl Foo {
#[rustc_clean(cfg="cfail2")] #[rustc_clean(cfg="cfail2")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl Foo { impl Foo {
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
#[inline] #[inline]
pub fn make_method_inline(&self) -> u8 { 0 } pub fn make_method_inline(&self) -> u8 { 0 }
@ -251,7 +251,7 @@ impl Foo {
impl Foo { impl Foo {
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="Hir,hir_owner_items,fn_sig,typeck_tables_of,optimized_mir,mir_built" except="hir_owner,hir_owner_items,fn_sig,typeck_tables_of,optimized_mir,mir_built"
)] )]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub unsafe fn make_method_unsafe(&self) { } pub unsafe fn make_method_unsafe(&self) { }
@ -269,7 +269,7 @@ impl Foo {
#[rustc_clean(cfg="cfail2")] #[rustc_clean(cfg="cfail2")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl Foo { impl Foo {
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,fn_sig,typeck_tables_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,fn_sig,typeck_tables_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub extern fn make_method_extern(&self) { } pub extern fn make_method_extern(&self) { }
} }
@ -286,7 +286,7 @@ impl Foo {
#[rustc_clean(cfg="cfail2")] #[rustc_clean(cfg="cfail2")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl Foo { impl Foo {
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,fn_sig,typeck_tables_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,fn_sig,typeck_tables_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub extern "system" fn change_method_calling_convention(&self) { } pub extern "system" fn change_method_calling_convention(&self) { }
} }
@ -312,7 +312,7 @@ impl Foo {
// if we lower generics before the body, then the `HirId` for // if we lower generics before the body, then the `HirId` for
// things in the body will be affected. So if you start to see // things in the body will be affected. So if you start to see
// `typeck_tables_of` appear dirty, that might be the cause. -nmatsakis // `typeck_tables_of` appear dirty, that might be the cause. -nmatsakis
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub fn add_lifetime_parameter_to_method<'a>(&self) { } pub fn add_lifetime_parameter_to_method<'a>(&self) { }
} }
@ -340,7 +340,7 @@ impl Foo {
// appear dirty, that might be the cause. -nmatsakis // appear dirty, that might be the cause. -nmatsakis
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="Hir,hir_owner_items,generics_of,predicates_of,type_of", except="hir_owner,hir_owner_items,generics_of,predicates_of,type_of",
)] )]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub fn add_type_parameter_to_method<T>(&self) { } pub fn add_type_parameter_to_method<T>(&self) { }
@ -360,7 +360,7 @@ impl Foo {
impl Foo { impl Foo {
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="Hir,hir_owner_items,generics_of,predicates_of,type_of,typeck_tables_of" except="hir_owner,hir_owner_items,generics_of,predicates_of,type_of,typeck_tables_of"
)] )]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub fn add_lifetime_bound_to_lifetime_param_of_method<'a, 'b: 'a>(&self) { } pub fn add_lifetime_bound_to_lifetime_param_of_method<'a, 'b: 'a>(&self) { }
@ -387,7 +387,7 @@ impl Foo {
// generics before the body, then the `HirId` for things in the // generics before the body, then the `HirId` for things in the
// body will be affected. So if you start to see `typeck_tables_of` // body will be affected. So if you start to see `typeck_tables_of`
// appear dirty, that might be the cause. -nmatsakis // appear dirty, that might be the cause. -nmatsakis
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,generics_of,predicates_of,\ #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,generics_of,predicates_of,\
type_of")] type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub fn add_lifetime_bound_to_type_param_of_method<'a, T: 'a>(&self) { } pub fn add_lifetime_bound_to_type_param_of_method<'a, T: 'a>(&self) { }
@ -414,7 +414,7 @@ impl Foo {
// generics before the body, then the `HirId` for things in the // generics before the body, then the `HirId` for things in the
// body will be affected. So if you start to see `typeck_tables_of` // body will be affected. So if you start to see `typeck_tables_of`
// appear dirty, that might be the cause. -nmatsakis // appear dirty, that might be the cause. -nmatsakis
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,predicates_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,predicates_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub fn add_trait_bound_to_type_param_of_method<T: Clone>(&self) { } pub fn add_trait_bound_to_type_param_of_method<T: Clone>(&self) { }
} }
@ -431,7 +431,7 @@ impl Foo {
#[rustc_clean(cfg="cfail2")] #[rustc_clean(cfg="cfail2")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl Foo { impl Foo {
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
#[no_mangle] #[no_mangle]
pub fn add_no_mangle_to_method(&self) { } pub fn add_no_mangle_to_method(&self) { }
@ -448,7 +448,7 @@ impl Bar<u32> {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,generics_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,generics_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl<T> Bar<T> { impl<T> Bar<T> {
#[rustc_clean( #[rustc_clean(
@ -468,7 +468,7 @@ impl Bar<u32> {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl Bar<u64> { impl Bar<u64> {
#[rustc_clean(cfg="cfail2", except="fn_sig,optimized_mir,mir_built,typeck_tables_of")] #[rustc_clean(cfg="cfail2", except="fn_sig,optimized_mir,mir_built,typeck_tables_of")]
@ -485,7 +485,7 @@ impl<T> Bar<T> {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl<T: 'static> Bar<T> { impl<T: 'static> Bar<T> {
#[rustc_clean(cfg="cfail2")] #[rustc_clean(cfg="cfail2")]
@ -502,7 +502,7 @@ impl<T> Bar<T> {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
impl<T: Clone> Bar<T> { impl<T: Clone> Bar<T> {
#[rustc_clean(cfg="cfail2")] #[rustc_clean(cfg="cfail2")]

View file

@ -21,7 +21,7 @@
static STATIC_VISIBILITY: u8 = 0; static STATIC_VISIBILITY: u8 = 0;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub static STATIC_VISIBILITY: u8 = 0; pub static STATIC_VISIBILITY: u8 = 0;
@ -31,7 +31,7 @@ pub static STATIC_VISIBILITY: u8 = 0;
static STATIC_MUTABILITY: u8 = 0; static STATIC_MUTABILITY: u8 = 0;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
static mut STATIC_MUTABILITY: u8 = 0; static mut STATIC_MUTABILITY: u8 = 0;
@ -41,7 +41,7 @@ static mut STATIC_MUTABILITY: u8 = 0;
static STATIC_LINKAGE: u8 = 0; static STATIC_LINKAGE: u8 = 0;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
#[linkage="weak_odr"] #[linkage="weak_odr"]
static STATIC_LINKAGE: u8 = 0; static STATIC_LINKAGE: u8 = 0;
@ -52,7 +52,7 @@ static STATIC_LINKAGE: u8 = 0;
static STATIC_NO_MANGLE: u8 = 0; static STATIC_NO_MANGLE: u8 = 0;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
#[no_mangle] #[no_mangle]
static STATIC_NO_MANGLE: u8 = 0; static STATIC_NO_MANGLE: u8 = 0;
@ -63,7 +63,7 @@ static STATIC_NO_MANGLE: u8 = 0;
static STATIC_THREAD_LOCAL: u8 = 0; static STATIC_THREAD_LOCAL: u8 = 0;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
#[thread_local] #[thread_local]
static STATIC_THREAD_LOCAL: u8 = 0; static STATIC_THREAD_LOCAL: u8 = 0;
@ -74,7 +74,7 @@ static STATIC_THREAD_LOCAL: u8 = 0;
static STATIC_CHANGE_TYPE_1: i16 = 0; static STATIC_CHANGE_TYPE_1: i16 = 0;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
static STATIC_CHANGE_TYPE_1: u64 = 0; static STATIC_CHANGE_TYPE_1: u64 = 0;
@ -84,7 +84,7 @@ static STATIC_CHANGE_TYPE_1: u64 = 0;
static STATIC_CHANGE_TYPE_2: Option<i8> = None; static STATIC_CHANGE_TYPE_2: Option<i8> = None;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
static STATIC_CHANGE_TYPE_2: Option<u16> = None; static STATIC_CHANGE_TYPE_2: Option<u16> = None;
@ -144,11 +144,11 @@ mod static_change_type_indirectly {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedType2 as Type; use super::ReferencedType2 as Type;
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
static STATIC_CHANGE_TYPE_INDIRECTLY_1: Type = Type; static STATIC_CHANGE_TYPE_INDIRECTLY_1: Type = Type;
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items,type_of")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items,type_of")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
static STATIC_CHANGE_TYPE_INDIRECTLY_2: Option<Type> = None; static STATIC_CHANGE_TYPE_INDIRECTLY_2: Option<Type> = None;
} }

View file

@ -173,7 +173,7 @@ pub mod change_constructor_path_indirectly_regular_struct {
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="fn_sig,Hir,hir_owner_items,optimized_mir,mir_built,typeck_tables_of" except="fn_sig,hir_owner,hir_owner_items,optimized_mir,mir_built,typeck_tables_of"
)] )]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub fn function() -> Struct { pub fn function() -> Struct {
@ -230,7 +230,7 @@ pub mod change_constructor_path_indirectly_tuple_struct {
#[rustc_clean( #[rustc_clean(
cfg="cfail2", cfg="cfail2",
except="fn_sig,Hir,hir_owner_items,optimized_mir,mir_built,typeck_tables_of" except="fn_sig,hir_owner,hir_owner_items,optimized_mir,mir_built,typeck_tables_of"
)] )]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
pub fn function() -> Struct { pub fn function() -> Struct {

View file

@ -24,12 +24,12 @@
pub struct LayoutPacked; pub struct LayoutPacked;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_dirty(label="type_of", cfg="cfail2")] #[rustc_dirty(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -41,12 +41,12 @@ pub struct LayoutPacked;
struct LayoutC; struct LayoutC;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_dirty(label="type_of", cfg="cfail2")] #[rustc_dirty(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -61,12 +61,12 @@ struct LayoutC;
struct TupleStructFieldType(i32); struct TupleStructFieldType(i32);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -84,12 +84,12 @@ struct TupleStructFieldType(
struct TupleStructAddField(i32); struct TupleStructAddField(i32);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_dirty(label="type_of", cfg="cfail2")] #[rustc_dirty(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -106,12 +106,12 @@ struct TupleStructAddField(
struct TupleStructFieldVisibility(char); struct TupleStructFieldVisibility(char);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_dirty(label="type_of", cfg="cfail2")] #[rustc_dirty(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -125,12 +125,12 @@ struct TupleStructFieldVisibility(pub char);
struct RecordStructFieldType { x: f32 } struct RecordStructFieldType { x: f32 }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -148,12 +148,12 @@ struct RecordStructFieldType {
struct RecordStructFieldName { x: f32 } struct RecordStructFieldName { x: f32 }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_dirty(label="type_of", cfg="cfail2")] #[rustc_dirty(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -167,12 +167,12 @@ struct RecordStructFieldName { y: f32 }
struct RecordStructAddField { x: f32 } struct RecordStructAddField { x: f32 }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_dirty(label="type_of", cfg="cfail2")] #[rustc_dirty(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -188,12 +188,12 @@ struct RecordStructAddField {
struct RecordStructFieldVisibility { x: f32 } struct RecordStructFieldVisibility { x: f32 }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_dirty(label="type_of", cfg="cfail2")] #[rustc_dirty(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -209,12 +209,12 @@ struct RecordStructFieldVisibility {
struct AddLifetimeParameter<'a>(&'a f32, &'a f64); struct AddLifetimeParameter<'a>(&'a f32, &'a f64);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_dirty(label="type_of", cfg="cfail2")] #[rustc_dirty(label="type_of", cfg="cfail2")]
#[rustc_dirty(label="generics_of", cfg="cfail2")] #[rustc_dirty(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -228,12 +228,12 @@ struct AddLifetimeParameter<'a, 'b>(&'a f32, &'b f64);
struct AddLifetimeParameterBound<'a, 'b>(&'a f32, &'b f64); struct AddLifetimeParameterBound<'a, 'b>(&'a f32, &'b f64);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_dirty(label="predicates_of", cfg="cfail2")] #[rustc_dirty(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -247,12 +247,12 @@ struct AddLifetimeParameterBound<'a, 'b: 'a>(
struct AddLifetimeParameterBoundWhereClause<'a, 'b>(&'a f32, &'b f64); struct AddLifetimeParameterBoundWhereClause<'a, 'b>(&'a f32, &'b f64);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_dirty(label="predicates_of", cfg="cfail2")] #[rustc_dirty(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -269,12 +269,12 @@ struct AddLifetimeParameterBoundWhereClause<'a, 'b>(
struct AddTypeParameter<T1>(T1, T1); struct AddTypeParameter<T1>(T1, T1);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_dirty(label="type_of", cfg="cfail2")] #[rustc_dirty(label="type_of", cfg="cfail2")]
#[rustc_dirty(label="generics_of", cfg="cfail2")] #[rustc_dirty(label="generics_of", cfg="cfail2")]
#[rustc_dirty(label="predicates_of", cfg="cfail2")] #[rustc_dirty(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -293,12 +293,12 @@ struct AddTypeParameter<T1, T2>(
struct AddTypeParameterBound<T>(T); struct AddTypeParameterBound<T>(T);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_dirty(label="predicates_of", cfg="cfail2")] #[rustc_dirty(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -312,12 +312,12 @@ struct AddTypeParameterBound<T: Send>(
struct AddTypeParameterBoundWhereClause<T>(T); struct AddTypeParameterBoundWhereClause<T>(T);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_dirty(label="predicates_of", cfg="cfail2")] #[rustc_dirty(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -332,12 +332,12 @@ struct AddTypeParameterBoundWhereClause<T>(
// fingerprint is stable (i.e., that there are no random influences like memory // fingerprint is stable (i.e., that there are no random influences like memory
// addresses taken into account by the hashing algorithm). // addresses taken into account by the hashing algorithm).
// Note: there is no #[cfg(...)], so this is ALWAYS compiled // Note: there is no #[cfg(...)], so this is ALWAYS compiled
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail2")] #[rustc_clean(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -351,12 +351,12 @@ pub struct EmptyStruct;
struct Visibility; struct Visibility;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -373,12 +373,12 @@ mod tuple_struct_change_field_type_indirectly {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedType2 as FieldType; use super::ReferencedType2 as FieldType;
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -396,12 +396,12 @@ mod record_struct_change_field_type_indirectly {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedType2 as FieldType; use super::ReferencedType2 as FieldType;
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_clean(label="predicates_of", cfg="cfail2")] #[rustc_clean(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -424,12 +424,12 @@ mod change_trait_bound_indirectly {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait2 as Trait; use super::ReferencedTrait2 as Trait;
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_dirty(label="predicates_of", cfg="cfail2")] #[rustc_dirty(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]
@ -444,12 +444,12 @@ mod change_trait_bound_indirectly_in_where_clause {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait2 as Trait; use super::ReferencedTrait2 as Trait;
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="type_of", cfg="cfail2")] #[rustc_clean(label="type_of", cfg="cfail2")]
#[rustc_clean(label="generics_of", cfg="cfail2")] #[rustc_clean(label="generics_of", cfg="cfail2")]
#[rustc_dirty(label="predicates_of", cfg="cfail2")] #[rustc_dirty(label="predicates_of", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[rustc_clean(label="type_of", cfg="cfail3")] #[rustc_clean(label="type_of", cfg="cfail3")]
#[rustc_clean(label="generics_of", cfg="cfail3")] #[rustc_clean(label="generics_of", cfg="cfail3")]

View file

@ -25,8 +25,8 @@
trait TraitVisibility { } trait TraitVisibility { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
pub trait TraitVisibility { } pub trait TraitVisibility { }
@ -36,8 +36,8 @@ pub trait TraitVisibility { }
trait TraitUnsafety { } trait TraitUnsafety { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
unsafe trait TraitUnsafety { } unsafe trait TraitUnsafety { }
@ -48,8 +48,8 @@ trait TraitAddMethod {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
pub trait TraitAddMethod { pub trait TraitAddMethod {
fn method(); fn method();
} }
@ -63,8 +63,8 @@ trait TraitChangeMethodName {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeMethodName { trait TraitChangeMethodName {
fn methodChanged(); fn methodChanged();
} }
@ -78,11 +78,11 @@ trait TraitAddReturnType {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddReturnType { trait TraitAddReturnType {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method() -> u32; fn method() -> u32;
} }
@ -95,11 +95,11 @@ trait TraitChangeReturnType {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeReturnType { trait TraitChangeReturnType {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method() -> u64; fn method() -> u64;
} }
@ -112,11 +112,11 @@ trait TraitAddParameterToMethod {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddParameterToMethod { trait TraitAddParameterToMethod {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(a: u32); fn method(a: u32);
} }
@ -130,16 +130,16 @@ trait TraitChangeMethodParameterName {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeMethodParameterName { trait TraitChangeMethodParameterName {
// FIXME(#38501) This should preferably always be clean. // FIXME(#38501) This should preferably always be clean.
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(b: u32); fn method(b: u32);
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
fn with_default(y: i32) {} fn with_default(y: i32) {}
@ -154,11 +154,11 @@ trait TraitChangeMethodParameterType {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeMethodParameterType { trait TraitChangeMethodParameterType {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(a: i64); fn method(a: i64);
} }
@ -171,11 +171,11 @@ trait TraitChangeMethodParameterTypeRef {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeMethodParameterTypeRef { trait TraitChangeMethodParameterTypeRef {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(a: &mut i32); fn method(a: &mut i32);
} }
@ -188,11 +188,11 @@ trait TraitChangeMethodParametersOrder {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeMethodParametersOrder { trait TraitChangeMethodParametersOrder {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(b: i64, a: i32); fn method(b: i64, a: i32);
} }
@ -205,11 +205,11 @@ trait TraitAddMethodAutoImplementation {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddMethodAutoImplementation { trait TraitAddMethodAutoImplementation {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method() { } fn method() { }
} }
@ -223,8 +223,8 @@ trait TraitChangeOrderOfMethods {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeOrderOfMethods { trait TraitChangeOrderOfMethods {
fn method1(); fn method1();
fn method0(); fn method0();
@ -239,11 +239,11 @@ trait TraitChangeModeSelfRefToMut {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeModeSelfRefToMut { trait TraitChangeModeSelfRefToMut {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(&mut self); fn method(&mut self);
} }
@ -255,11 +255,11 @@ trait TraitChangeModeSelfOwnToMut: Sized {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeModeSelfOwnToMut: Sized { trait TraitChangeModeSelfOwnToMut: Sized {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
fn method(mut self) {} fn method(mut self) {}
@ -273,11 +273,11 @@ trait TraitChangeModeSelfOwnToRef {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeModeSelfOwnToRef { trait TraitChangeModeSelfOwnToRef {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(&self); fn method(&self);
} }
@ -290,11 +290,11 @@ trait TraitAddUnsafeModifier {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddUnsafeModifier { trait TraitAddUnsafeModifier {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
unsafe fn method(); unsafe fn method();
} }
@ -307,11 +307,11 @@ trait TraitAddExternModifier {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddExternModifier { trait TraitAddExternModifier {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
extern fn method(); extern fn method();
} }
@ -324,11 +324,11 @@ trait TraitChangeExternCToRustIntrinsic {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeExternCToRustIntrinsic { trait TraitChangeExternCToRustIntrinsic {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
extern "stdcall" fn method(); extern "stdcall" fn method();
} }
@ -341,11 +341,11 @@ trait TraitAddTypeParameterToMethod {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddTypeParameterToMethod { trait TraitAddTypeParameterToMethod {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method<T>(); fn method<T>();
} }
@ -358,11 +358,11 @@ trait TraitAddLifetimeParameterToMethod {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddLifetimeParameterToMethod { trait TraitAddLifetimeParameterToMethod {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method<'a>(); fn method<'a>();
} }
@ -379,11 +379,11 @@ trait TraitAddTraitBoundToMethodTypeParameter {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddTraitBoundToMethodTypeParameter { trait TraitAddTraitBoundToMethodTypeParameter {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method<T: ReferencedTrait0>(); fn method<T: ReferencedTrait0>();
} }
@ -396,11 +396,11 @@ trait TraitAddBuiltinBoundToMethodTypeParameter {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddBuiltinBoundToMethodTypeParameter { trait TraitAddBuiltinBoundToMethodTypeParameter {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method<T: Sized>(); fn method<T: Sized>();
} }
@ -413,11 +413,11 @@ trait TraitAddLifetimeBoundToMethodLifetimeParameter {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddLifetimeBoundToMethodLifetimeParameter { trait TraitAddLifetimeBoundToMethodLifetimeParameter {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method<'a, 'b: 'a>(a: &'a u32, b: &'b u32); fn method<'a, 'b: 'a>(a: &'a u32, b: &'b u32);
} }
@ -430,11 +430,11 @@ trait TraitAddSecondTraitBoundToMethodTypeParameter {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondTraitBoundToMethodTypeParameter { trait TraitAddSecondTraitBoundToMethodTypeParameter {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method<T: ReferencedTrait0 + ReferencedTrait1>(); fn method<T: ReferencedTrait0 + ReferencedTrait1>();
} }
@ -447,11 +447,11 @@ trait TraitAddSecondBuiltinBoundToMethodTypeParameter {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondBuiltinBoundToMethodTypeParameter { trait TraitAddSecondBuiltinBoundToMethodTypeParameter {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method<T: Sized + Sync>(); fn method<T: Sized + Sync>();
} }
@ -464,11 +464,11 @@ trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter { trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method<'a, 'b, 'c: 'a + 'b>(a: &'a u32, b: &'b u32, c: &'c u32); fn method<'a, 'b, 'c: 'a + 'b>(a: &'a u32, b: &'b u32, c: &'c u32);
} }
@ -478,14 +478,14 @@ trait TraitAddSecondLifetimeBoundToMethodLifetimeParameter {
#[cfg(cfail1)] #[cfg(cfail1)]
trait TraitAddAssociatedType { trait TraitAddAssociatedType {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(); fn method();
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddAssociatedType { trait TraitAddAssociatedType {
type Associated; type Associated;
@ -506,11 +506,11 @@ trait TraitAddTraitBoundToAssociatedType {
// Apparently the type bound contributes to the predicates of the trait, but // Apparently the type bound contributes to the predicates of the trait, but
// does not change the associated item itself. // does not change the associated item itself.
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddTraitBoundToAssociatedType { trait TraitAddTraitBoundToAssociatedType {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
type Associated: ReferencedTrait0; type Associated: ReferencedTrait0;
fn method(); fn method();
@ -527,11 +527,11 @@ trait TraitAddLifetimeBoundToAssociatedType<'a> {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddLifetimeBoundToAssociatedType<'a> { trait TraitAddLifetimeBoundToAssociatedType<'a> {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
type Associated: 'a; type Associated: 'a;
fn method(); fn method();
@ -548,11 +548,11 @@ trait TraitAddDefaultToAssociatedType {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddDefaultToAssociatedType { trait TraitAddDefaultToAssociatedType {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
type Associated = ReferenceType0; type Associated = ReferenceType0;
fn method(); fn method();
@ -567,8 +567,8 @@ trait TraitAddAssociatedConstant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddAssociatedConstant { trait TraitAddAssociatedConstant {
const Value: u32; const Value: u32;
@ -586,15 +586,15 @@ trait TraitAddInitializerToAssociatedConstant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddInitializerToAssociatedConstant { trait TraitAddInitializerToAssociatedConstant {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
const Value: u32 = 1; const Value: u32 = 1;
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(); fn method();
} }
@ -609,15 +609,15 @@ trait TraitChangeTypeOfAssociatedConstant {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeTypeOfAssociatedConstant { trait TraitChangeTypeOfAssociatedConstant {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
const Value: f64; const Value: f64;
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(); fn method();
} }
@ -628,8 +628,8 @@ trait TraitChangeTypeOfAssociatedConstant {
trait TraitAddSuperTrait { } trait TraitAddSuperTrait { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSuperTrait : ReferencedTrait0 { } trait TraitAddSuperTrait : ReferencedTrait0 { }
@ -639,8 +639,8 @@ trait TraitAddSuperTrait : ReferencedTrait0 { }
trait TraitAddBuiltiBound { } trait TraitAddBuiltiBound { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddBuiltiBound : Send { } trait TraitAddBuiltiBound : Send { }
@ -650,8 +650,8 @@ trait TraitAddBuiltiBound : Send { }
trait TraitAddStaticLifetimeBound { } trait TraitAddStaticLifetimeBound { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddStaticLifetimeBound : 'static { } trait TraitAddStaticLifetimeBound : 'static { }
@ -661,16 +661,16 @@ trait TraitAddStaticLifetimeBound : 'static { }
trait TraitAddTraitAsSecondBound : ReferencedTrait0 { } trait TraitAddTraitAsSecondBound : ReferencedTrait0 { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddTraitAsSecondBound : ReferencedTrait0 + ReferencedTrait1 { } trait TraitAddTraitAsSecondBound : ReferencedTrait0 + ReferencedTrait1 { }
#[cfg(cfail1)] #[cfg(cfail1)]
trait TraitAddTraitAsSecondBoundFromBuiltin : Send { } trait TraitAddTraitAsSecondBoundFromBuiltin : Send { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddTraitAsSecondBoundFromBuiltin : Send + ReferencedTrait0 { } trait TraitAddTraitAsSecondBoundFromBuiltin : Send + ReferencedTrait0 { }
@ -680,16 +680,16 @@ trait TraitAddTraitAsSecondBoundFromBuiltin : Send + ReferencedTrait0 { }
trait TraitAddBuiltinBoundAsSecondBound : ReferencedTrait0 { } trait TraitAddBuiltinBoundAsSecondBound : ReferencedTrait0 { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddBuiltinBoundAsSecondBound : ReferencedTrait0 + Send { } trait TraitAddBuiltinBoundAsSecondBound : ReferencedTrait0 + Send { }
#[cfg(cfail1)] #[cfg(cfail1)]
trait TraitAddBuiltinBoundAsSecondBoundFromBuiltin : Send { } trait TraitAddBuiltinBoundAsSecondBoundFromBuiltin : Send { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddBuiltinBoundAsSecondBoundFromBuiltin: Send + Copy { } trait TraitAddBuiltinBoundAsSecondBoundFromBuiltin: Send + Copy { }
@ -699,16 +699,16 @@ trait TraitAddBuiltinBoundAsSecondBoundFromBuiltin: Send + Copy { }
trait TraitAddStaticBoundAsSecondBound : ReferencedTrait0 { } trait TraitAddStaticBoundAsSecondBound : ReferencedTrait0 { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddStaticBoundAsSecondBound : ReferencedTrait0 + 'static { } trait TraitAddStaticBoundAsSecondBound : ReferencedTrait0 + 'static { }
#[cfg(cfail1)] #[cfg(cfail1)]
trait TraitAddStaticBoundAsSecondBoundFromBuiltin : Send { } trait TraitAddStaticBoundAsSecondBoundFromBuiltin : Send { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddStaticBoundAsSecondBoundFromBuiltin : Send + 'static { } trait TraitAddStaticBoundAsSecondBoundFromBuiltin : Send + 'static { }
@ -718,8 +718,8 @@ trait TraitAddStaticBoundAsSecondBoundFromBuiltin : Send + 'static { }
trait TraitAddTypeParameterToTrait { } trait TraitAddTypeParameterToTrait { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddTypeParameterToTrait<T> { } trait TraitAddTypeParameterToTrait<T> { }
@ -729,8 +729,8 @@ trait TraitAddTypeParameterToTrait<T> { }
trait TraitAddLifetimeParameterToTrait { } trait TraitAddLifetimeParameterToTrait { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddLifetimeParameterToTrait<'a> { } trait TraitAddLifetimeParameterToTrait<'a> { }
@ -740,8 +740,8 @@ trait TraitAddLifetimeParameterToTrait<'a> { }
trait TraitAddTraitBoundToTypeParameterOfTrait<T> { } trait TraitAddTraitBoundToTypeParameterOfTrait<T> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0> { } trait TraitAddTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0> { }
@ -751,8 +751,8 @@ trait TraitAddTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0> { }
trait TraitAddLifetimeBoundToTypeParameterOfTrait<'a, T> { } trait TraitAddLifetimeBoundToTypeParameterOfTrait<'a, T> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddLifetimeBoundToTypeParameterOfTrait<'a, T: 'a> { } trait TraitAddLifetimeBoundToTypeParameterOfTrait<'a, T: 'a> { }
@ -762,8 +762,8 @@ trait TraitAddLifetimeBoundToTypeParameterOfTrait<'a, T: 'a> { }
trait TraitAddLifetimeBoundToLifetimeParameterOfTrait<'a, 'b> { } trait TraitAddLifetimeBoundToLifetimeParameterOfTrait<'a, 'b> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddLifetimeBoundToLifetimeParameterOfTrait<'a: 'b, 'b> { } trait TraitAddLifetimeBoundToLifetimeParameterOfTrait<'a: 'b, 'b> { }
@ -773,8 +773,8 @@ trait TraitAddLifetimeBoundToLifetimeParameterOfTrait<'a: 'b, 'b> { }
trait TraitAddBuiltinBoundToTypeParameterOfTrait<T> { } trait TraitAddBuiltinBoundToTypeParameterOfTrait<T> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddBuiltinBoundToTypeParameterOfTrait<T: Send> { } trait TraitAddBuiltinBoundToTypeParameterOfTrait<T: Send> { }
@ -784,8 +784,8 @@ trait TraitAddBuiltinBoundToTypeParameterOfTrait<T: Send> { }
trait TraitAddSecondTypeParameterToTrait<T> { } trait TraitAddSecondTypeParameterToTrait<T> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondTypeParameterToTrait<T, S> { } trait TraitAddSecondTypeParameterToTrait<T, S> { }
@ -795,8 +795,8 @@ trait TraitAddSecondTypeParameterToTrait<T, S> { }
trait TraitAddSecondLifetimeParameterToTrait<'a> { } trait TraitAddSecondLifetimeParameterToTrait<'a> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondLifetimeParameterToTrait<'a, 'b> { } trait TraitAddSecondLifetimeParameterToTrait<'a, 'b> { }
@ -806,8 +806,8 @@ trait TraitAddSecondLifetimeParameterToTrait<'a, 'b> { }
trait TraitAddSecondTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0> { } trait TraitAddSecondTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0 + ReferencedTrait1> { } trait TraitAddSecondTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0 + ReferencedTrait1> { }
@ -817,8 +817,8 @@ trait TraitAddSecondTraitBoundToTypeParameterOfTrait<T: ReferencedTrait0 + Refer
trait TraitAddSecondLifetimeBoundToTypeParameterOfTrait<'a, 'b, T: 'a> { } trait TraitAddSecondLifetimeBoundToTypeParameterOfTrait<'a, 'b, T: 'a> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondLifetimeBoundToTypeParameterOfTrait<'a, 'b, T: 'a + 'b> { } trait TraitAddSecondLifetimeBoundToTypeParameterOfTrait<'a, 'b, T: 'a + 'b> { }
@ -828,8 +828,8 @@ trait TraitAddSecondLifetimeBoundToTypeParameterOfTrait<'a, 'b, T: 'a + 'b> { }
trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTrait<'a: 'b, 'b, 'c> { } trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTrait<'a: 'b, 'b, 'c> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTrait<'a: 'b + 'c, 'b, 'c> { } trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTrait<'a: 'b + 'c, 'b, 'c> { }
@ -839,8 +839,8 @@ trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTrait<'a: 'b + 'c, 'b, 'c>
trait TraitAddSecondBuiltinBoundToTypeParameterOfTrait<T: Send> { } trait TraitAddSecondBuiltinBoundToTypeParameterOfTrait<T: Send> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondBuiltinBoundToTypeParameterOfTrait<T: Send + Sync> { } trait TraitAddSecondBuiltinBoundToTypeParameterOfTrait<T: Send + Sync> { }
@ -855,8 +855,8 @@ struct ReferenceType1 {}
trait TraitAddTraitBoundToTypeParameterOfTraitWhere<T> { } trait TraitAddTraitBoundToTypeParameterOfTraitWhere<T> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddTraitBoundToTypeParameterOfTraitWhere<T> where T: ReferencedTrait0 { } trait TraitAddTraitBoundToTypeParameterOfTraitWhere<T> where T: ReferencedTrait0 { }
@ -866,8 +866,8 @@ trait TraitAddTraitBoundToTypeParameterOfTraitWhere<T> where T: ReferencedTrait0
trait TraitAddLifetimeBoundToTypeParameterOfTraitWhere<'a, T> { } trait TraitAddLifetimeBoundToTypeParameterOfTraitWhere<'a, T> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddLifetimeBoundToTypeParameterOfTraitWhere<'a, T> where T: 'a { } trait TraitAddLifetimeBoundToTypeParameterOfTraitWhere<'a, T> where T: 'a { }
@ -877,8 +877,8 @@ trait TraitAddLifetimeBoundToTypeParameterOfTraitWhere<'a, T> where T: 'a { }
trait TraitAddLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b> { } trait TraitAddLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b> where 'a: 'b { } trait TraitAddLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b> where 'a: 'b { }
@ -888,8 +888,8 @@ trait TraitAddLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b> where 'a: 'b
trait TraitAddBuiltinBoundToTypeParameterOfTraitWhere<T> { } trait TraitAddBuiltinBoundToTypeParameterOfTraitWhere<T> { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send { } trait TraitAddBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send { }
@ -899,8 +899,8 @@ trait TraitAddBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send { }
trait TraitAddSecondTraitBoundToTypeParameterOfTraitWhere<T> where T: ReferencedTrait0 { } trait TraitAddSecondTraitBoundToTypeParameterOfTraitWhere<T> where T: ReferencedTrait0 { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondTraitBoundToTypeParameterOfTraitWhere<T> trait TraitAddSecondTraitBoundToTypeParameterOfTraitWhere<T>
where T: ReferencedTrait0 + ReferencedTrait1 { } where T: ReferencedTrait0 + ReferencedTrait1 { }
@ -911,8 +911,8 @@ trait TraitAddSecondTraitBoundToTypeParameterOfTraitWhere<T>
trait TraitAddSecondLifetimeBoundToTypeParameterOfTraitWhere<'a, 'b, T> where T: 'a { } trait TraitAddSecondLifetimeBoundToTypeParameterOfTraitWhere<'a, 'b, T> where T: 'a { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondLifetimeBoundToTypeParameterOfTraitWhere<'a, 'b, T> where T: 'a + 'b { } trait TraitAddSecondLifetimeBoundToTypeParameterOfTraitWhere<'a, 'b, T> where T: 'a + 'b { }
@ -922,8 +922,8 @@ trait TraitAddSecondLifetimeBoundToTypeParameterOfTraitWhere<'a, 'b, T> where T:
trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b, 'c> where 'a: 'b { } trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b, 'c> where 'a: 'b { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b, 'c> where 'a: 'b + 'c { } trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b, 'c> where 'a: 'b + 'c { }
@ -933,8 +933,8 @@ trait TraitAddSecondLifetimeBoundToLifetimeParameterOfTraitWhere<'a, 'b, 'c> whe
trait TraitAddSecondBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send { } trait TraitAddSecondBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send { }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitAddSecondBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send + Sync { } trait TraitAddSecondBuiltinBoundToTypeParameterOfTraitWhere<T> where T: Send + Sync { }
@ -945,11 +945,11 @@ mod change_return_type_of_method_indirectly_use {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferenceType1 as ReturnType; use super::ReferenceType1 as ReturnType;
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeReturnType { trait TraitChangeReturnType {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method() -> ReturnType; fn method() -> ReturnType;
} }
} }
@ -963,11 +963,11 @@ mod change_method_parameter_type_indirectly_by_use {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferenceType1 as ArgType; use super::ReferenceType1 as ArgType;
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeArgType { trait TraitChangeArgType {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method(a: ArgType); fn method(a: ArgType);
} }
} }
@ -981,11 +981,11 @@ mod change_method_parameter_type_bound_indirectly_by_use {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait1 as Bound; use super::ReferencedTrait1 as Bound;
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeBoundOfMethodTypeParameter { trait TraitChangeBoundOfMethodTypeParameter {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method<T: Bound>(a: T); fn method<T: Bound>(a: T);
} }
} }
@ -1000,11 +1000,11 @@ mod change_method_parameter_type_bound_indirectly_by_use_where {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait1 as Bound; use super::ReferencedTrait1 as Bound;
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeBoundOfMethodTypeParameterWhere { trait TraitChangeBoundOfMethodTypeParameterWhere {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method<T>(a: T) where T: Bound; fn method<T>(a: T) where T: Bound;
} }
} }
@ -1018,8 +1018,8 @@ mod change_method_type_parameter_bound_indirectly {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait1 as Bound; use super::ReferencedTrait1 as Bound;
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeTraitBound<T: Bound> { trait TraitChangeTraitBound<T: Bound> {
fn method(a: T); fn method(a: T);
} }
@ -1035,8 +1035,8 @@ mod change_method_type_parameter_bound_indirectly_where {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait1 as Bound; use super::ReferencedTrait1 as Bound;
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
trait TraitChangeTraitBoundWhere<T> where T: Bound { trait TraitChangeTraitBoundWhere<T> where T: Bound {
fn method(a: T); fn method(a: T);
} }

View file

@ -30,18 +30,18 @@ impl ChangeMethodNameTrait for Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
pub trait ChangeMethodNameTrait { pub trait ChangeMethodNameTrait {
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method_name2(); fn method_name2();
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl ChangeMethodNameTrait for Foo { impl ChangeMethodNameTrait for Foo {
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method_name2() { } fn method_name2() { }
} }
@ -59,11 +59,11 @@ impl ChangeMethodBodyTrait for Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl ChangeMethodBodyTrait for Foo { impl ChangeMethodBodyTrait for Foo {
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
fn method_name() { fn method_name() {
@ -86,11 +86,11 @@ impl ChangeMethodBodyTraitInlined for Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl ChangeMethodBodyTraitInlined for Foo { impl ChangeMethodBodyTraitInlined for Foo {
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail3")] #[rustc_clean(label="hir_owner_items", cfg="cfail3")]
#[inline] #[inline]
@ -117,11 +117,11 @@ pub trait ChangeMethodSelfnessTrait {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl ChangeMethodSelfnessTrait for Foo { impl ChangeMethodSelfnessTrait for Foo {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method_name(&self) { fn method_name(&self) {
() ()
} }
@ -145,11 +145,11 @@ pub trait RemoveMethodSelfnessTrait {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl RemoveMethodSelfnessTrait for Foo { impl RemoveMethodSelfnessTrait for Foo {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method_name() {} fn method_name() {}
} }
@ -171,11 +171,11 @@ pub trait ChangeMethodSelfmutnessTrait {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl ChangeMethodSelfmutnessTrait for Foo { impl ChangeMethodSelfmutnessTrait for Foo {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method_name(&mut self) {} fn method_name(&mut self) {}
} }
@ -197,8 +197,8 @@ pub trait ChangeItemKindTrait {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl ChangeItemKindTrait for Foo { impl ChangeItemKindTrait for Foo {
type name = (); type name = ();
} }
@ -223,8 +223,8 @@ pub trait RemoveItemTrait {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl RemoveItemTrait for Foo { impl RemoveItemTrait for Foo {
type TypeName = (); type TypeName = ();
} }
@ -248,8 +248,8 @@ pub trait AddItemTrait {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl AddItemTrait for Foo { impl AddItemTrait for Foo {
type TypeName = (); type TypeName = ();
fn method_name() { } fn method_name() { }
@ -268,17 +268,17 @@ impl ChangeHasValueTrait for Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
pub trait ChangeHasValueTrait { pub trait ChangeHasValueTrait {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method_name() { } fn method_name() { }
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl ChangeHasValueTrait for Foo { impl ChangeHasValueTrait for Foo {
fn method_name() { } fn method_name() { }
} }
@ -295,11 +295,11 @@ impl AddDefaultTrait for Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl AddDefaultTrait for Foo { impl AddDefaultTrait for Foo {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
default fn method_name() { } default fn method_name() { }
} }
@ -321,11 +321,11 @@ pub trait AddArgumentTrait {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl AddArgumentTrait for Foo { impl AddArgumentTrait for Foo {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method_name(&self, _x: u32) { } fn method_name(&self, _x: u32) { }
} }
@ -347,11 +347,11 @@ pub trait ChangeArgumentTypeTrait {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl ChangeArgumentTypeTrait for Foo { impl ChangeArgumentTypeTrait for Foo {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn method_name(&self, _x: char) { } fn method_name(&self, _x: char) { }
} }
@ -370,11 +370,11 @@ impl AddTypeParameterToImpl<u32> for Bar<u32> {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl<T> AddTypeParameterToImpl<T> for Bar<T> { impl<T> AddTypeParameterToImpl<T> for Bar<T> {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn id(t: T) -> T { t } fn id(t: T) -> T { t }
} }
@ -391,11 +391,11 @@ impl ChangeSelfTypeOfImpl for u32 {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl ChangeSelfTypeOfImpl for u64 { impl ChangeSelfTypeOfImpl for u64 {
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn id(self) -> Self { self } fn id(self) -> Self { self }
} }
@ -412,11 +412,11 @@ impl<T> AddLifetimeBoundToImplParameter for T {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl<T: 'static> AddLifetimeBoundToImplParameter for T { impl<T: 'static> AddLifetimeBoundToImplParameter for T {
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn id(self) -> Self { self } fn id(self) -> Self { self }
} }
@ -433,11 +433,11 @@ impl<T> AddTraitBoundToImplParameter for T {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl<T: Clone> AddTraitBoundToImplParameter for T { impl<T: Clone> AddTraitBoundToImplParameter for T {
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
fn id(self) -> Self { self } fn id(self) -> Self { self }
} }
@ -454,11 +454,11 @@ impl AddNoMangleToMethod for Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl AddNoMangleToMethod for Foo { impl AddNoMangleToMethod for Foo {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[no_mangle] #[no_mangle]
fn add_no_mangle_to_method(&self) { } fn add_no_mangle_to_method(&self) { }
} }
@ -475,11 +475,11 @@ impl MakeMethodInline for Foo {
} }
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
impl MakeMethodInline for Foo { impl MakeMethodInline for Foo {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="Hir", cfg="cfail3")] #[rustc_clean(label="hir_owner", cfg="cfail3")]
#[inline] #[inline]
fn make_method_inline(&self) -> u8 { 0 } fn make_method_inline(&self) -> u8 { 0 }
} }

View file

@ -24,7 +24,7 @@
type ChangePrimitiveType = i32; type ChangePrimitiveType = i32;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type ChangePrimitiveType = i64; type ChangePrimitiveType = i64;
@ -35,7 +35,7 @@ type ChangePrimitiveType = i64;
type ChangeMutability = &'static i32; type ChangeMutability = &'static i32;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type ChangeMutability = &'static mut i32; type ChangeMutability = &'static mut i32;
@ -46,7 +46,7 @@ type ChangeMutability = &'static mut i32;
type ChangeLifetime<'a> = (&'static i32, &'a i32); type ChangeLifetime<'a> = (&'static i32, &'a i32);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type ChangeLifetime<'a> = (&'a i32, &'a i32); type ChangeLifetime<'a> = (&'a i32, &'a i32);
@ -60,7 +60,7 @@ struct Struct2;
type ChangeTypeStruct = Struct1; type ChangeTypeStruct = Struct1;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type ChangeTypeStruct = Struct2; type ChangeTypeStruct = Struct2;
@ -71,7 +71,7 @@ type ChangeTypeStruct = Struct2;
type ChangeTypeTuple = (u32, u64); type ChangeTypeTuple = (u32, u64);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type ChangeTypeTuple = (u32, i64); type ChangeTypeTuple = (u32, i64);
@ -91,7 +91,7 @@ enum Enum2 {
type ChangeTypeEnum = Enum1; type ChangeTypeEnum = Enum1;
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type ChangeTypeEnum = Enum2; type ChangeTypeEnum = Enum2;
@ -102,7 +102,7 @@ type ChangeTypeEnum = Enum2;
type AddTupleField = (i32, i64); type AddTupleField = (i32, i64);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type AddTupleField = (i32, i64, i16); type AddTupleField = (i32, i64, i16);
@ -113,7 +113,7 @@ type AddTupleField = (i32, i64, i16);
type ChangeNestedTupleField = (i32, (i64, i16)); type ChangeNestedTupleField = (i32, (i64, i16));
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type ChangeNestedTupleField = (i32, (i64, i8)); type ChangeNestedTupleField = (i32, (i64, i8));
@ -124,7 +124,7 @@ type ChangeNestedTupleField = (i32, (i64, i8));
type AddTypeParam<T1> = (T1, T1); type AddTypeParam<T1> = (T1, T1);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type AddTypeParam<T1, T2> = (T1, T2); type AddTypeParam<T1, T2> = (T1, T2);
@ -135,7 +135,7 @@ type AddTypeParam<T1, T2> = (T1, T2);
type AddTypeParamBound<T1> = (T1, u32); type AddTypeParamBound<T1> = (T1, u32);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type AddTypeParamBound<T1: Clone> = (T1, u32); type AddTypeParamBound<T1: Clone> = (T1, u32);
@ -146,7 +146,7 @@ type AddTypeParamBound<T1: Clone> = (T1, u32);
type AddTypeParamBoundWhereClause<T1> where T1: Clone = (T1, u32); type AddTypeParamBoundWhereClause<T1> where T1: Clone = (T1, u32);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type AddTypeParamBoundWhereClause<T1> where T1: Clone+Copy = (T1, u32); type AddTypeParamBoundWhereClause<T1> where T1: Clone+Copy = (T1, u32);
@ -157,7 +157,7 @@ type AddTypeParamBoundWhereClause<T1> where T1: Clone+Copy = (T1, u32);
type AddLifetimeParam<'a> = (&'a u32, &'a u32); type AddLifetimeParam<'a> = (&'a u32, &'a u32);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type AddLifetimeParam<'a, 'b> = (&'a u32, &'b u32); type AddLifetimeParam<'a, 'b> = (&'a u32, &'b u32);
@ -168,7 +168,7 @@ type AddLifetimeParam<'a, 'b> = (&'a u32, &'b u32);
type AddLifetimeParamBound<'a, 'b> = (&'a u32, &'b u32); type AddLifetimeParamBound<'a, 'b> = (&'a u32, &'b u32);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type AddLifetimeParamBound<'a, 'b: 'a> = (&'a u32, &'b u32); type AddLifetimeParamBound<'a, 'b: 'a> = (&'a u32, &'b u32);
@ -181,7 +181,7 @@ where 'b: 'a
= (&'a u32, &'b u32, &'c u32); = (&'a u32, &'b u32, &'c u32);
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type AddLifetimeParamBoundWhereClause<'a, 'b, 'c> type AddLifetimeParamBoundWhereClause<'a, 'b, 'c>
where 'b: 'a, where 'b: 'a,
@ -200,7 +200,7 @@ mod change_trait_bound_indirectly {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait2 as Trait; use super::ReferencedTrait2 as Trait;
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type ChangeTraitBoundIndirectly<T: Trait> = (T, u32); type ChangeTraitBoundIndirectly<T: Trait> = (T, u32);
} }
@ -214,7 +214,7 @@ mod change_trait_bound_indirectly_in_where_clause {
#[cfg(not(cfail1))] #[cfg(not(cfail1))]
use super::ReferencedTrait2 as Trait; use super::ReferencedTrait2 as Trait;
#[rustc_clean(cfg="cfail2", except="Hir,hir_owner_items")] #[rustc_clean(cfg="cfail2", except="hir_owner,hir_owner_items")]
#[rustc_clean(cfg="cfail3")] #[rustc_clean(cfg="cfail3")]
type ChangeTraitBoundIndirectly<T> where T : Trait = (T, u32); type ChangeTraitBoundIndirectly<T> where T : Trait = (T, u32);
} }

View file

@ -26,14 +26,14 @@ mod mod3 {
#[cfg(rpass2)] #[cfg(rpass2)]
use Trait2; use Trait2;
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
#[rustc_clean(label="hir_owner_items", cfg="rpass2")] #[rustc_clean(label="hir_owner_items", cfg="rpass2")]
#[rustc_dirty(label="typeck_tables_of", cfg="rpass2")] #[rustc_dirty(label="typeck_tables_of", cfg="rpass2")]
fn bar() { fn bar() {
().method(); ().method();
} }
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
#[rustc_clean(label="hir_owner_items", cfg="rpass2")] #[rustc_clean(label="hir_owner_items", cfg="rpass2")]
#[rustc_clean(label="typeck_tables_of", cfg="rpass2")] #[rustc_clean(label="typeck_tables_of", cfg="rpass2")]
fn baz() { fn baz() {

View file

@ -7,13 +7,13 @@
#![crate_type = "rlib"] #![crate_type = "rlib"]
#![feature(rustc_attrs)] #![feature(rustc_attrs)]
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_dirty(label="hir_owner_items", cfg="cfail2")] #[rustc_dirty(label="hir_owner_items", cfg="cfail2")]
pub fn foo() { pub fn foo() {
#[cfg(cfail1)] #[cfg(cfail1)]
pub fn baz() { } // order is different... pub fn baz() { } // order is different...
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
#[rustc_clean(label="hir_owner_items", cfg="cfail2")] #[rustc_clean(label="hir_owner_items", cfg="cfail2")]
pub fn bar() { } // but that doesn't matter. pub fn bar() { } // but that doesn't matter.

View file

@ -28,17 +28,17 @@ mod mod3 {
#[cfg(rpass3)] #[cfg(rpass3)]
use mod2::Foo; use mod2::Foo;
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
#[rustc_clean(label="hir_owner_items", cfg="rpass2")] #[rustc_clean(label="hir_owner_items", cfg="rpass2")]
#[rustc_clean(label="Hir", cfg="rpass3")] #[rustc_clean(label="hir_owner", cfg="rpass3")]
#[rustc_dirty(label="hir_owner_items", cfg="rpass3")] #[rustc_dirty(label="hir_owner_items", cfg="rpass3")]
fn in_expr() { fn in_expr() {
Foo(0); Foo(0);
} }
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
#[rustc_clean(label="hir_owner_items", cfg="rpass2")] #[rustc_clean(label="hir_owner_items", cfg="rpass2")]
#[rustc_clean(label="Hir", cfg="rpass3")] #[rustc_clean(label="hir_owner", cfg="rpass3")]
#[rustc_dirty(label="hir_owner_items", cfg="rpass3")] #[rustc_dirty(label="hir_owner_items", cfg="rpass3")]
fn in_type() { fn in_type() {
test::<Foo>(); test::<Foo>();

View file

@ -1,6 +1,6 @@
// Regression test for #34991: an ICE occurred here because we inline // Regression test for #34991: an ICE occurred here because we inline
// some of the vector routines and give them a local def-id `X`. This // some of the vector routines and give them a local def-id `X`. This
// got hashed after codegen (`Hir(X)`). When we load back up, we get an // got hashed after codegen (`hir_owner(X)`). When we load back up, we get an
// error because the `X` is remapped to the original def-id (in // error because the `X` is remapped to the original def-id (in
// libstd), and we can't hash a HIR node from std. // libstd), and we can't hash a HIR node from std.

View file

@ -7,25 +7,25 @@
#![feature(rustc_attrs)] #![feature(rustc_attrs)]
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
#[rustc_clean(label="hir_owner_items", cfg="rpass2")] #[rustc_clean(label="hir_owner_items", cfg="rpass2")]
fn line_same() { fn line_same() {
let _ = line!(); let _ = line!();
} }
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
#[rustc_clean(label="hir_owner_items", cfg="rpass2")] #[rustc_clean(label="hir_owner_items", cfg="rpass2")]
fn col_same() { fn col_same() {
let _ = column!(); let _ = column!();
} }
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
#[rustc_clean(label="hir_owner_items", cfg="rpass2")] #[rustc_clean(label="hir_owner_items", cfg="rpass2")]
fn file_same() { fn file_same() {
let _ = file!(); let _ = file!();
} }
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
#[rustc_dirty(label="hir_owner_items", cfg="rpass2")] #[rustc_dirty(label="hir_owner_items", cfg="rpass2")]
fn line_different() { fn line_different() {
#[cfg(rpass1)] #[cfg(rpass1)]
@ -38,7 +38,7 @@ fn line_different() {
} }
} }
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
#[rustc_dirty(label="hir_owner_items", cfg="rpass2")] #[rustc_dirty(label="hir_owner_items", cfg="rpass2")]
fn col_different() { fn col_different() {
#[cfg(rpass1)] #[cfg(rpass1)]

View file

@ -1,4 +1,4 @@
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
pub struct SomeType { pub struct SomeType {
pub x: u32, pub x: u32,
pub y: i64, pub y: i64,

View file

@ -1,4 +1,4 @@
#[rustc_clean(label="Hir", cfg="rpass2")] #[rustc_clean(label="hir_owner", cfg="rpass2")]
pub struct SomeOtherType { pub struct SomeOtherType {
pub a: i32, pub a: i32,
pub b: u64, pub b: u64,

View file

@ -12,6 +12,6 @@
pub fn main() {} pub fn main() {}
#[cfg(rpass2)] #[cfg(rpass2)]
#[rustc_dirty(label="Hir", cfg="rpass2")] #[rustc_dirty(label="hir_owner", cfg="rpass2")]
#[rustc_dirty(label="hir_owner_items", cfg="rpass2")] #[rustc_dirty(label="hir_owner_items", cfg="rpass2")]
pub fn main() {} pub fn main() {}

View file

@ -10,13 +10,13 @@
fn main() { fn main() {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
//[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
{ {
// empty block // empty block
} }
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
//[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
{ {
// empty block // empty block
@ -24,11 +24,11 @@ fn main() {
} }
struct _Struct { struct _Struct {
#[rustc_dirty(label="Hir", cfg="cfail2")] #[rustc_dirty(label="hir_owner", cfg="cfail2")]
//[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
_field1: i32, _field1: i32,
#[rustc_clean(label="Hir", cfg="cfail2")] #[rustc_clean(label="hir_owner", cfg="cfail2")]
//[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute //[cfail2]~^ ERROR found unchecked `#[rustc_dirty]` / `#[rustc_clean]` attribute
_field2: i32, _field2: i32,
} }