Skip to content

Commit 0129c9d

Browse files
committed
Fix incremental tests
1 parent 9b95546 commit 0129c9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/incremental/change_crate_order/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ use b::B;
2020

2121
//? #[rustc_clean(label="typeck_tables_of", cfg="rpass2")]
2222
pub fn main() {
23-
A + B;
23+
let _ = A + B;
2424
}

src/test/incremental/warnings-reemitted.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
#![warn(const_err)]
77

88
fn main() {
9-
255u8 + 1; //~ WARNING this expression will panic at run-time
9+
let _ = 255u8 + 1; //~ WARNING this expression will panic at run-time
1010
}

0 commit comments

Comments
 (0)