Skip to content

Commit 3b2ed56

Browse files
author
The Miri Conjob Bot
committed
Merge from rustc
2 parents 02fc2cf + c498b92 commit 3b2ed56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/miri.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
6969
}
7070

7171
init_late_loggers(handler, tcx);
72-
if !tcx.sess.crate_types().contains(&CrateType::Executable) {
72+
if !tcx.crate_types().contains(&CrateType::Executable) {
7373
tcx.sess.fatal("miri only makes sense on bin crates");
7474
}
7575

0 commit comments

Comments
 (0)