]> git.lizzy.rs Git - rust.git/blobdiff - src/test/incremental/hello_world.rs
Rollup merge of #56476 - GuillaumeGomez:invalid-line-number-match, r=QuietMisdreavus
[rust.git] / src / test / incremental / hello_world.rs
index a06c25ac055c77b6ce313f8d345c5be8156af290..2d65e0aa657a6690cb271f42b564c1ab39d58dbb 100644 (file)
@@ -18,12 +18,12 @@ fn main() { }
 
 mod x {
     #[cfg(rpass1)]
-    pub fn x() -> i32 {
+    pub fn xxxx() -> i32 {
         1
     }
 
     #[cfg(rpass2)]
-    pub fn x() -> i32 {
+    pub fn xxxx() -> i32 {
         2
     }
 }
@@ -31,17 +31,17 @@ pub fn x() -> i32 {
 mod y {
     use x;
 
-    #[rustc_dirty(label="TypeckItemBody", cfg="rpass2")]
-    pub fn y() {
-        x::x();
+    #[rustc_clean(label="TypeckTables", cfg="rpass2")]
+    pub fn yyyy() {
+        x::xxxx();
     }
 }
 
 mod z {
     use y;
 
-    #[rustc_clean(label="TypeckItemBody", cfg="rpass2")]
+    #[rustc_clean(label="TypeckTables", cfg="rpass2")]
     pub fn z() {
-        y::y();
+        y::yyyy();
     }
 }