File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/test/incremental/type_alias_cross_crate Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ pub type X = u32;
1616#[ cfg( rpass2) ]
1717pub type X = i32 ;
1818
19+ // this version doesn't actually change anything:
20+ #[ cfg( rpass3) ]
21+ pub type X = i32 ;
22+
1923pub type Y = char ;
2024
2125pub fn foo ( ) { }
Original file line number Diff line number Diff line change 99// except according to those terms.
1010
1111// aux-build:a.rs
12- // revisions:rpass1 rpass2
12+ // revisions:rpass1 rpass2 rpass3
1313
1414#![ feature( rustc_attrs) ]
1515
1616extern crate a;
1717
1818#[ rustc_dirty( label="TypeckItemBody" , cfg="rpass2" ) ]
19+ #[ rustc_clean( label="TypeckItemBody" , cfg="rpass3" ) ]
1920pub fn use_X ( ) -> u32 {
2021 let x: a:: X = 22 ;
2122 x as u32
2223}
2324
2425#[ rustc_clean( label="TypeckItemBody" , cfg="rpass2" ) ]
26+ #[ rustc_clean( label="TypeckItemBody" , cfg="rpass3" ) ]
2527pub fn use_Y ( ) {
2628 let x: a:: Y = 'c' ;
2729}
You can’t perform that action at this time.
0 commit comments