diff --git a/src/test/incremental/type_alias_cross_crate/auxiliary/a.rs b/src/test/incremental/type_alias_cross_crate/auxiliary/a.rs index 446d97e5bc0..e1dba131770 100644 --- a/src/test/incremental/type_alias_cross_crate/auxiliary/a.rs +++ b/src/test/incremental/type_alias_cross_crate/auxiliary/a.rs @@ -16,4 +16,8 @@ #[cfg(rpass2)] pub type X = i32; +// this version doesn't actually change anything: +#[cfg(rpass3)] +pub type X = i32; + pub type Y = char; diff --git a/src/test/incremental/type_alias_cross_crate/b.rs b/src/test/incremental/type_alias_cross_crate/b.rs index b4e9b760101..c5421fcbf5c 100644 --- a/src/test/incremental/type_alias_cross_crate/b.rs +++ b/src/test/incremental/type_alias_cross_crate/b.rs @@ -9,19 +9,21 @@ // except according to those terms. // aux-build:a.rs -// revisions:rpass1 rpass2 +// revisions:rpass1 rpass2 rpass3 #![feature(rustc_attrs)] extern crate a; #[rustc_dirty(label="TypeckItemBody", cfg="rpass2")] +#[rustc_clean(label="TypeckItemBody", cfg="rpass3")] pub fn use_X() -> u32 { let x: a::X = 22; x as u32 } #[rustc_clean(label="TypeckItemBody", cfg="rpass2")] +#[rustc_clean(label="TypeckItemBody", cfg="rpass3")] pub fn use_Y() { let x: a::Y = 'c'; }