Skip to content

Commit 36f2af1

Browse files
committed
remove FIXMEs; issue fixed
1 parent 95c6c99 commit 36f2af1

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

src/test/incremental/change_pub_inherent_method_body/struct_point.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
// FIXME(#35078) -- this gets recompiled because we don't separate sig from body
2323
#![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")]
2626
#![rustc_partition_reused(module="struct_point-fn_make_struct", cfg="rpass2")]
2727
#![rustc_partition_reused(module="struct_point-fn_read_field", cfg="rpass2")]
2828
#![rustc_partition_reused(module="struct_point-fn_write_field", cfg="rpass2")]
@@ -64,8 +64,7 @@ mod fn_calls_changed_method {
6464
mod fn_calls_another_method {
6565
use point::Point;
6666

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")]
6968
pub fn check() {
7069
let p = Point { x: 2.0, y: 2.0 };
7170
p.x();

src/test/incremental/change_pub_inherent_method_sig/struct_point.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
#![rustc_partition_translated(module="struct_point-point", cfg="rpass2")]
2323
#![rustc_partition_translated(module="struct_point-fn_calls_changed_method", cfg="rpass2")]
2424

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")]
2826
#![rustc_partition_reused(module="struct_point-fn_make_struct", cfg="rpass2")]
2927
#![rustc_partition_reused(module="struct_point-fn_read_field", cfg="rpass2")]
3028
#![rustc_partition_reused(module="struct_point-fn_write_field", cfg="rpass2")]
@@ -74,8 +72,7 @@ mod fn_calls_changed_method {
7472
mod fn_calls_another_method {
7573
use point::Point;
7674

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")]
7976
pub fn check() {
8077
let p = Point { x: 2.0, y: 2.0 };
8178
p.x();

0 commit comments

Comments
 (0)