File tree 2 files changed +5
-9
lines changed
change_pub_inherent_method_body
change_pub_inherent_method_sig
2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 21
21
22
22
// FIXME(#35078) -- this gets recompiled because we don't separate sig from body
23
23
#![ rustc_partition_translated( module="struct_point-fn_calls_changed_method" , cfg="rpass2" ) ]
24
- // FIXME(#36349) -- this gets recompiled because we don't separate items from impl
25
- #![ rustc_partition_translated ( module="struct_point-fn_calls_another_method" , cfg="rpass2" ) ]
24
+
25
+ #![ rustc_partition_reused ( module="struct_point-fn_calls_another_method" , cfg="rpass2" ) ]
26
26
#![ rustc_partition_reused( module="struct_point-fn_make_struct" , cfg="rpass2" ) ]
27
27
#![ rustc_partition_reused( module="struct_point-fn_read_field" , cfg="rpass2" ) ]
28
28
#![ rustc_partition_reused( module="struct_point-fn_write_field" , cfg="rpass2" ) ]
@@ -64,8 +64,7 @@ mod fn_calls_changed_method {
64
64
mod fn_calls_another_method {
65
65
use point:: Point ;
66
66
67
- // FIXME(#36349) -- this gets recompiled because we don't separate items from impl
68
- #[ rustc_dirty( label="TypeckItemBody" , cfg="rpass2" ) ]
67
+ #[ rustc_clean( label="TypeckItemBody" , cfg="rpass2" ) ]
69
68
pub fn check ( ) {
70
69
let p = Point { x : 2.0 , y : 2.0 } ;
71
70
p. x ( ) ;
Original file line number Diff line number Diff line change 22
22
#![ rustc_partition_translated( module="struct_point-point" , cfg="rpass2" ) ]
23
23
#![ rustc_partition_translated( module="struct_point-fn_calls_changed_method" , cfg="rpass2" ) ]
24
24
25
- // FIXME(#36349) -- this gets recompiled because we don't separate items from impl
26
- #![ rustc_partition_translated( module="struct_point-fn_calls_another_method" , cfg="rpass2" ) ]
27
-
25
+ #![ rustc_partition_reused( module="struct_point-fn_calls_another_method" , cfg="rpass2" ) ]
28
26
#![ rustc_partition_reused( module="struct_point-fn_make_struct" , cfg="rpass2" ) ]
29
27
#![ rustc_partition_reused( module="struct_point-fn_read_field" , cfg="rpass2" ) ]
30
28
#![ rustc_partition_reused( module="struct_point-fn_write_field" , cfg="rpass2" ) ]
@@ -74,8 +72,7 @@ mod fn_calls_changed_method {
74
72
mod fn_calls_another_method {
75
73
use point:: Point ;
76
74
77
- // FIXME(#36349) -- this gets recompiled because we don't separate items from impl
78
- #[ rustc_dirty( label="TypeckItemBody" , cfg="rpass2" ) ]
75
+ #[ rustc_clean( label="TypeckItemBody" , cfg="rpass2" ) ]
79
76
pub fn check ( ) {
80
77
let p = Point { x : 2.0 , y : 2.0 } ;
81
78
p. x ( ) ;
You can’t perform that action at this time.
0 commit comments