Allow a dirty MirBuilt for make_extern and make_method_extern
This commit is contained in:
parent
a0f02cdba0
commit
b4a6f59793
2 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ pub unsafe fn make_unsafe() {}
|
||||||
pub fn make_extern() {}
|
pub fn make_extern() {}
|
||||||
|
|
||||||
#[cfg(not(cfail1))]
|
#[cfg(not(cfail1))]
|
||||||
#[rustc_clean(cfg = "cfail2", except = "Hir, HirBody, TypeckTables, FnSignature")]
|
#[rustc_clean(cfg = "cfail2", except = "Hir, HirBody, MirBuilt, TypeckTables, FnSignature")]
|
||||||
#[rustc_clean(cfg = "cfail3")]
|
#[rustc_clean(cfg = "cfail3")]
|
||||||
pub extern "C" fn make_extern() {}
|
pub extern "C" fn make_extern() {}
|
||||||
|
|
||||||
|
|
|
@ -263,7 +263,7 @@ impl Foo {
|
||||||
#[rustc_clean(cfg="cfail2")]
|
#[rustc_clean(cfg="cfail2")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
impl Foo {
|
impl Foo {
|
||||||
#[rustc_clean(cfg="cfail2", except="Hir,HirBody,FnSignature,TypeckTables")]
|
#[rustc_clean(cfg="cfail2", except="Hir,HirBody,MirBuilt,FnSignature,TypeckTables")]
|
||||||
#[rustc_clean(cfg="cfail3")]
|
#[rustc_clean(cfg="cfail3")]
|
||||||
pub extern fn make_method_extern(&self) { }
|
pub extern fn make_method_extern(&self) { }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue