Skip to content

Commit b1ce7ad

Browse files
committed
Merge from rustc
2 parents fa622ae + d91464e commit b1ce7ad

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

src/bin/miri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
6161
) -> Compilation {
6262
compiler.session().abort_if_errors();
6363

64-
queries.global_ctxt().unwrap().peek_mut().enter(|tcx| {
64+
queries.global_ctxt().unwrap().enter(|tcx| {
6565
init_late_loggers(tcx);
6666
if !tcx.sess.crate_types().contains(&CrateType::Executable) {
6767
tcx.sess.fatal("miri only makes sense on bin crates");

tests/pass/issues/issue-miri-2068.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(pin_macro)]
2-
31
use core::future::Future;
42
use core::pin::Pin;
53
use core::task::{Context, Poll};

tests/pass/stacked-borrows/future-self-referential.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(pin_macro)]
2-
31
use std::future::*;
42
use std::marker::PhantomPinned;
53
use std::pin::*;

0 commit comments

Comments
 (0)