We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02fc2cf + c498b92 commit 3b2ed56Copy full SHA for 3b2ed56
src/bin/miri.rs
@@ -69,7 +69,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
69
}
70
71
init_late_loggers(handler, tcx);
72
- if !tcx.sess.crate_types().contains(&CrateType::Executable) {
+ if !tcx.crate_types().contains(&CrateType::Executable) {
73
tcx.sess.fatal("miri only makes sense on bin crates");
74
75
0 commit comments