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.
1 parent 32ff9ab commit 71faf0aCopy full SHA for 71faf0a
src/bin/miri.rs
@@ -61,7 +61,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
61
) -> Compilation {
62
compiler.session().abort_if_errors();
63
64
- queries.global_ctxt().unwrap().peek_mut().enter(|tcx| {
+ queries.global_ctxt().unwrap().enter(|tcx| {
65
init_late_loggers(tcx);
66
if !tcx.sess.crate_types().contains(&CrateType::Executable) {
67
tcx.sess.fatal("miri only makes sense on bin crates");
0 commit comments