From 1c1d4f907d1aa903a5fecae3fa75298042f5d8d9 Mon Sep 17 00:00:00 2001 From: Felix S Klock II Date: Mon, 24 May 2021 16:50:01 -0400 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test THIR unsafeck too Co-authored-by: Léo Lanteri Thauvin --- .../issue-85435-unsafe-op-in-let-under-unsafe-under-closure.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/ui/unsafe/issue-85435-unsafe-op-in-let-under-unsafe-under-closure.rs b/src/test/ui/unsafe/issue-85435-unsafe-op-in-let-under-unsafe-under-closure.rs index b0d738855d7..72f7b674777 100644 --- a/src/test/ui/unsafe/issue-85435-unsafe-op-in-let-under-unsafe-under-closure.rs +++ b/src/test/ui/unsafe/issue-85435-unsafe-op-in-let-under-unsafe-under-closure.rs @@ -1,4 +1,6 @@ // check-pass +// revisions: mir thir +// [thir]compile-flags: -Z thir-unsafeck // This is issue #85435. But the real story is reflected in issue #85561, where // a bug in the implementation of feature(capture_disjoint_fields) () was