Fix test cases to reflect that #32014...went away
Not sure what was the bug. Fixes #32014.
This commit is contained in:
parent
22b4bb051a
commit
54d78a46c5
@ -48,7 +48,6 @@ mod z {
|
||||
#[rustc_dirty(label="TransCrateItem", cfg="cfail2")]
|
||||
pub fn z() {
|
||||
//[cfail2]~^ ERROR `TypeckItemBody("z::z")` found in dep graph, but should be dirty
|
||||
// FIXME(#32014) -- TransCrateItem ought to be clean, but it is in fact
|
||||
// dirty, hence we don't see an error here.
|
||||
//[cfail2]~| ERROR `TransCrateItem("z::z")` found in dep graph, but should be dirty
|
||||
}
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ mod y {
|
||||
use x;
|
||||
|
||||
#[rustc_clean(label="TypeckItemBody", cfg="rpass2")]
|
||||
#[rustc_dirty(label="TransCrateItem", cfg="rpass2")]
|
||||
#[rustc_clean(label="TransCrateItem", cfg="rpass2")]
|
||||
pub fn y() {
|
||||
x::x();
|
||||
}
|
||||
@ -51,7 +51,7 @@ mod z {
|
||||
use y;
|
||||
|
||||
#[rustc_clean(label="TypeckItemBody", cfg="rpass2")]
|
||||
#[rustc_dirty(label="TransCrateItem", cfg="rpass2")]
|
||||
#[rustc_clean(label="TransCrateItem", cfg="rpass2")]
|
||||
pub fn z() {
|
||||
y::y();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user