]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-pass/mir_raw_fat_ptr.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / run-pass / mir_raw_fat_ptr.rs
index 9bbfbb6822463083cad6d1252dbd58c06cbb3775..c0ba7a76dba480515e42dc683236966c922bc06b 100644 (file)
@@ -10,6 +10,8 @@
 
 #![feature(rustc_attrs)]
 
+// ignore-pretty : (#23623) problems when  ending with // comments
+
 // check raw fat pointer ops in mir
 // FIXME: please improve this when we get monomorphization support
 
@@ -119,6 +121,7 @@ impl<T> Foo for T {
 
 struct S<T:?Sized>(u32, T);
 
+#[rustc_no_mir] // FIXME #27840 MIR can't do rvalue promotion yet.
 fn main() {
     let array = [0,1,2,3,4];
     let array2 = [5,6,7,8,9];