Skip to content

Commit bc79751

Browse files
committed
test: bypass rustc --test impl details for -Zfuture-incompat-test
Switch to an empty `lib.rs` from `main.rs`. See rust-lang/rust#114804 (comment)
1 parent 3561627 commit bc79751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/future_incompat_report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ fn test_multi_crate() {
164164
second-dep = "*"
165165
"#,
166166
)
167-
.file("src/main.rs", "fn main() {}")
167+
.file("src/lib.rs", "")
168168
.build();
169169

170170
for command in &["build", "check", "rustc", "test"] {

0 commit comments

Comments
 (0)