Skip to content

Commit 54d78a4

Browse files
committed
Fix test cases to reflect that #32014...went away
Not sure what was the bug. Fixes #32014.
1 parent 22b4bb0 commit 54d78a4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/test/incremental/dirty_clean.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ mod z {
4848
#[rustc_dirty(label="TransCrateItem", cfg="cfail2")]
4949
pub fn z() {
5050
//[cfail2]~^ ERROR `TypeckItemBody("z::z")` found in dep graph, but should be dirty
51-
// FIXME(#32014) -- TransCrateItem ought to be clean, but it is in fact
52-
// dirty, hence we don't see an error here.
51+
//[cfail2]~| ERROR `TransCrateItem("z::z")` found in dep graph, but should be dirty
5352
}
5453
}

src/test/incremental/string_constant.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ mod y {
4141
use x;
4242

4343
#[rustc_clean(label="TypeckItemBody", cfg="rpass2")]
44-
#[rustc_dirty(label="TransCrateItem", cfg="rpass2")]
44+
#[rustc_clean(label="TransCrateItem", cfg="rpass2")]
4545
pub fn y() {
4646
x::x();
4747
}
@@ -51,7 +51,7 @@ mod z {
5151
use y;
5252

5353
#[rustc_clean(label="TypeckItemBody", cfg="rpass2")]
54-
#[rustc_dirty(label="TransCrateItem", cfg="rpass2")]
54+
#[rustc_clean(label="TransCrateItem", cfg="rpass2")]
5555
pub fn z() {
5656
y::y();
5757
}

0 commit comments

Comments
 (0)