Skip to content

Commit b4a6f59

Browse files
committed
Allow a dirty MirBuilt for make_extern and make_method_extern
1 parent a0f02cd commit b4a6f59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/incremental/hashes/function_interfaces.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub unsafe fn make_unsafe() {}
9494
pub fn make_extern() {}
9595

9696
#[cfg(not(cfail1))]
97-
#[rustc_clean(cfg = "cfail2", except = "Hir, HirBody, TypeckTables, FnSignature")]
97+
#[rustc_clean(cfg = "cfail2", except = "Hir, HirBody, MirBuilt, TypeckTables, FnSignature")]
9898
#[rustc_clean(cfg = "cfail3")]
9999
pub extern "C" fn make_extern() {}
100100

src/test/incremental/hashes/inherent_impls.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ impl Foo {
263263
#[rustc_clean(cfg="cfail2")]
264264
#[rustc_clean(cfg="cfail3")]
265265
impl Foo {
266-
#[rustc_clean(cfg="cfail2", except="Hir,HirBody,FnSignature,TypeckTables")]
266+
#[rustc_clean(cfg="cfail2", except="Hir,HirBody,MirBuilt,FnSignature,TypeckTables")]
267267
#[rustc_clean(cfg="cfail3")]
268268
pub extern fn make_method_extern(&self) { }
269269
}

0 commit comments

Comments
 (0)