Skip to content

Commit 18f2b46

Browse files
committed
Auto merge of #12491 - weihanglo:fix-future-incompat, r=ehuss
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) Closes rust-lang/rust#114804
2 parents 7e9de3f + b567a67 commit 18f2b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/future_incompat_report.rs

+1-1
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)