about summary refs log tree commit diff
path: root/tests/ui/drop
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/drop')
-rw-r--r--tests/ui/drop/drop-if-let-binding.rs4
-rw-r--r--tests/ui/drop/drop-on-empty-block-exit.rs4
-rw-r--r--tests/ui/drop/drop-on-ret.rs4
-rw-r--r--tests/ui/drop/drop-struct-as-object.rs2
-rw-r--r--tests/ui/drop/drop-trait-enum.rs6
-rw-r--r--tests/ui/drop/drop-trait-generic.rs2
-rw-r--r--tests/ui/drop/drop-trait.rs2
-rw-r--r--tests/ui/drop/drop-uninhabited-enum.rs4
-rw-r--r--tests/ui/drop/drop-with-type-ascription-1.rs2
-rw-r--r--tests/ui/drop/drop-with-type-ascription-2.rs2
-rw-r--r--tests/ui/drop/drop_elaboration_with_errors.rs2
-rw-r--r--tests/ui/drop/drop_order.rs4
-rw-r--r--tests/ui/drop/dropck-eyepatch-extern-crate.rs4
-rw-r--r--tests/ui/drop/dropck-eyepatch-manuallydrop.rs2
-rw-r--r--tests/ui/drop/dropck-eyepatch-reorder.rs2
-rw-r--r--tests/ui/drop/dropck-eyepatch.rs2
-rw-r--r--tests/ui/drop/dropck_legal_cycles.rs2
-rw-r--r--tests/ui/drop/dynamic-drop-async.rs6
-rw-r--r--tests/ui/drop/dynamic-drop.rs4
-rw-r--r--tests/ui/drop/issue-100276.rs4
-rw-r--r--tests/ui/drop/issue-10028.rs6
-rw-r--r--tests/ui/drop/issue-103107.rs4
-rw-r--r--tests/ui/drop/issue-110682.rs4
-rw-r--r--tests/ui/drop/issue-17718-const-destructors.rs2
-rw-r--r--tests/ui/drop/issue-21486.rs2
-rw-r--r--tests/ui/drop/issue-23338-ensure-param-drop-order.rs2
-rw-r--r--tests/ui/drop/issue-2734.rs4
-rw-r--r--tests/ui/drop/issue-2735-2.rs2
-rw-r--r--tests/ui/drop/issue-2735-3.rs2
-rw-r--r--tests/ui/drop/issue-2735.rs4
-rw-r--r--tests/ui/drop/issue-30018-nopanic.rs2
-rw-r--r--tests/ui/drop/issue-35546.rs2
-rw-r--r--tests/ui/drop/issue-48962.rs2
-rw-r--r--tests/ui/drop/issue-90752-raw-ptr-shenanigans.rs2
-rw-r--r--tests/ui/drop/issue-90752.rs2
-rw-r--r--tests/ui/drop/issue-979.rs2
-rw-r--r--tests/ui/drop/no-drop-flag-size.rs2
-rw-r--r--tests/ui/drop/nondrop-cycle.rs4
-rw-r--r--tests/ui/drop/recursion-check-on-erroneous-impl.rs2
-rw-r--r--tests/ui/drop/repeat-drop.rs4
-rw-r--r--tests/ui/drop/terminate-in-initializer.rs6
-rw-r--r--tests/ui/drop/use_inline_dtor.rs6
42 files changed, 66 insertions, 66 deletions
diff --git a/tests/ui/drop/drop-if-let-binding.rs b/tests/ui/drop/drop-if-let-binding.rs
index 9c1ac4e0c7f..9c702b6846b 100644
--- a/tests/ui/drop/drop-if-let-binding.rs
+++ b/tests/ui/drop/drop-if-let-binding.rs
@@ -1,6 +1,6 @@
-// build-pass
+//@ build-pass
 // regression test for issue #88307
-// compile-flags: -C opt-level=s
+//@ compile-flags: -C opt-level=s
 
 fn main() {
     if let Some(_val) = Option::<String>::None {}
diff --git a/tests/ui/drop/drop-on-empty-block-exit.rs b/tests/ui/drop/drop-on-empty-block-exit.rs
index ef3a90a53a6..63bc403a721 100644
--- a/tests/ui/drop/drop-on-empty-block-exit.rs
+++ b/tests/ui/drop/drop-on-empty-block-exit.rs
@@ -1,5 +1,5 @@
-// run-pass
-// pretty-expanded FIXME #23616
+//@ run-pass
+//@ pretty-expanded FIXME #23616
 #![allow(non_camel_case_types)]
 
 enum t { foo(Box<isize>), }
diff --git a/tests/ui/drop/drop-on-ret.rs b/tests/ui/drop/drop-on-ret.rs
index 290e274f305..f8ce899adf0 100644
--- a/tests/ui/drop/drop-on-ret.rs
+++ b/tests/ui/drop/drop-on-ret.rs
@@ -1,8 +1,8 @@
-// run-pass
+//@ run-pass
 
 
 
-// pretty-expanded FIXME #23616
+//@ pretty-expanded FIXME #23616
 
 fn f() -> isize {
     if true {
diff --git a/tests/ui/drop/drop-struct-as-object.rs b/tests/ui/drop/drop-struct-as-object.rs
index 1aa68777042..07c8950f1b2 100644
--- a/tests/ui/drop/drop-struct-as-object.rs
+++ b/tests/ui/drop/drop-struct-as-object.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(unused_variables)]
 #![allow(non_upper_case_globals)]
 
diff --git a/tests/ui/drop/drop-trait-enum.rs b/tests/ui/drop/drop-trait-enum.rs
index d2b77650a9d..91b5bcdf730 100644
--- a/tests/ui/drop/drop-trait-enum.rs
+++ b/tests/ui/drop/drop-trait-enum.rs
@@ -1,9 +1,9 @@
-// run-pass
+//@ run-pass
 #![allow(dead_code)]
 #![allow(unused_assignments)]
 #![allow(unused_variables)]
-// ignore-emscripten no threads support
-// needs-unwind
+//@ ignore-emscripten no threads support
+//@ needs-unwind
 
 use std::thread;
 use std::sync::mpsc::{channel, Sender};
diff --git a/tests/ui/drop/drop-trait-generic.rs b/tests/ui/drop/drop-trait-generic.rs
index cdefb680c75..20876469e2f 100644
--- a/tests/ui/drop/drop-trait-generic.rs
+++ b/tests/ui/drop/drop-trait-generic.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(dead_code)]
 struct S<T> {
     x: T
diff --git a/tests/ui/drop/drop-trait.rs b/tests/ui/drop/drop-trait.rs
index d93f7718091..b160d17cdcb 100644
--- a/tests/ui/drop/drop-trait.rs
+++ b/tests/ui/drop/drop-trait.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(dead_code)]
 struct Foo {
     x: isize
diff --git a/tests/ui/drop/drop-uninhabited-enum.rs b/tests/ui/drop/drop-uninhabited-enum.rs
index b3566f68533..f018ffa0977 100644
--- a/tests/ui/drop/drop-uninhabited-enum.rs
+++ b/tests/ui/drop/drop-uninhabited-enum.rs
@@ -1,7 +1,7 @@
-// run-pass
+//@ run-pass
 #![allow(dead_code)]
 #![allow(unused_variables)]
-// pretty-expanded FIXME #23616
+//@ pretty-expanded FIXME #23616
 
 enum Foo { }
 
diff --git a/tests/ui/drop/drop-with-type-ascription-1.rs b/tests/ui/drop/drop-with-type-ascription-1.rs
index e5a1a48df56..fbf9eecbb13 100644
--- a/tests/ui/drop/drop-with-type-ascription-1.rs
+++ b/tests/ui/drop/drop-with-type-ascription-1.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 
 fn main() {
     let foo = "hello".to_string();
diff --git a/tests/ui/drop/drop-with-type-ascription-2.rs b/tests/ui/drop/drop-with-type-ascription-2.rs
index fb70ad48e88..68109fac31b 100644
--- a/tests/ui/drop/drop-with-type-ascription-2.rs
+++ b/tests/ui/drop/drop-with-type-ascription-2.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 
 fn main() {
     let args = vec!["foobie", "asdf::asdf"];
diff --git a/tests/ui/drop/drop_elaboration_with_errors.rs b/tests/ui/drop/drop_elaboration_with_errors.rs
index 77862762e87..35d05e6cf64 100644
--- a/tests/ui/drop/drop_elaboration_with_errors.rs
+++ b/tests/ui/drop/drop_elaboration_with_errors.rs
@@ -1,6 +1,6 @@
 // can't use build-fail, because this also fails check-fail, but
 // the ICE from #120787 only reproduces on build-fail.
-// compile-flags: --emit=mir
+//@ compile-flags: --emit=mir
 
 #![feature(type_alias_impl_trait)]
 
diff --git a/tests/ui/drop/drop_order.rs b/tests/ui/drop/drop_order.rs
index 5ce1fd54a9e..54e9e491f78 100644
--- a/tests/ui/drop/drop_order.rs
+++ b/tests/ui/drop/drop_order.rs
@@ -1,5 +1,5 @@
-// run-pass
-// compile-flags: -Z validate-mir
+//@ run-pass
+//@ compile-flags: -Z validate-mir
 #![feature(let_chains)]
 
 use std::cell::RefCell;
diff --git a/tests/ui/drop/dropck-eyepatch-extern-crate.rs b/tests/ui/drop/dropck-eyepatch-extern-crate.rs
index fecfd5edffb..86d8a7e8356 100644
--- a/tests/ui/drop/dropck-eyepatch-extern-crate.rs
+++ b/tests/ui/drop/dropck-eyepatch-extern-crate.rs
@@ -1,5 +1,5 @@
-// run-pass
-// aux-build:dropck_eyepatch_extern_crate.rs
+//@ run-pass
+//@ aux-build:dropck_eyepatch_extern_crate.rs
 
 extern crate dropck_eyepatch_extern_crate as other;
 
diff --git a/tests/ui/drop/dropck-eyepatch-manuallydrop.rs b/tests/ui/drop/dropck-eyepatch-manuallydrop.rs
index ff100cd941f..9d763d155b8 100644
--- a/tests/ui/drop/dropck-eyepatch-manuallydrop.rs
+++ b/tests/ui/drop/dropck-eyepatch-manuallydrop.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 //! This test checks that dropck knows that ManuallyDrop does not drop its field.
 #![feature(dropck_eyepatch)]
 
diff --git a/tests/ui/drop/dropck-eyepatch-reorder.rs b/tests/ui/drop/dropck-eyepatch-reorder.rs
index 4a56c45aa92..6b394414bae 100644
--- a/tests/ui/drop/dropck-eyepatch-reorder.rs
+++ b/tests/ui/drop/dropck-eyepatch-reorder.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![feature(dropck_eyepatch)]
 
 // The point of this test is to test uses of `#[may_dangle]` attribute
diff --git a/tests/ui/drop/dropck-eyepatch.rs b/tests/ui/drop/dropck-eyepatch.rs
index ff5a52b906b..2f27b72da5a 100644
--- a/tests/ui/drop/dropck-eyepatch.rs
+++ b/tests/ui/drop/dropck-eyepatch.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![feature(dropck_eyepatch)]
 
 // The point of this test is to illustrate that the `#[may_dangle]`
diff --git a/tests/ui/drop/dropck_legal_cycles.rs b/tests/ui/drop/dropck_legal_cycles.rs
index 6a0fe7784fb..8acf98a03b5 100644
--- a/tests/ui/drop/dropck_legal_cycles.rs
+++ b/tests/ui/drop/dropck_legal_cycles.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 // This test exercises cases where cyclic structure is legal,
 // including when the cycles go through data-structures such
 // as `Vec` or `TypedArena`.
diff --git a/tests/ui/drop/dynamic-drop-async.rs b/tests/ui/drop/dynamic-drop-async.rs
index 8f1cc6691cd..e7a32d3c24e 100644
--- a/tests/ui/drop/dynamic-drop-async.rs
+++ b/tests/ui/drop/dynamic-drop-async.rs
@@ -3,9 +3,9 @@
 // * The future is dropped at one of its suspend points.
 // * Dropping one of the values panics while dropping the future.
 
-// run-pass
-// needs-unwind
-// edition:2018
+//@ run-pass
+//@ needs-unwind
+//@ edition:2018
 
 #![allow(unused)]
 
diff --git a/tests/ui/drop/dynamic-drop.rs b/tests/ui/drop/dynamic-drop.rs
index 4745cceb516..f848a1a340b 100644
--- a/tests/ui/drop/dynamic-drop.rs
+++ b/tests/ui/drop/dynamic-drop.rs
@@ -1,5 +1,5 @@
-// run-pass
-// needs-unwind
+//@ run-pass
+//@ needs-unwind
 
 #![feature(coroutines, coroutine_trait)]
 #![feature(if_let_guard)]
diff --git a/tests/ui/drop/issue-100276.rs b/tests/ui/drop/issue-100276.rs
index 6401a8d1481..b44710e7c3f 100644
--- a/tests/ui/drop/issue-100276.rs
+++ b/tests/ui/drop/issue-100276.rs
@@ -1,5 +1,5 @@
-// check-pass
-// compile-flags: -Z validate-mir
+//@ check-pass
+//@ compile-flags: -Z validate-mir
 #![feature(let_chains)]
 
 fn let_chains(entry: std::io::Result<std::fs::DirEntry>) {
diff --git a/tests/ui/drop/issue-10028.rs b/tests/ui/drop/issue-10028.rs
index 1692470e8d1..41914254522 100644
--- a/tests/ui/drop/issue-10028.rs
+++ b/tests/ui/drop/issue-10028.rs
@@ -1,8 +1,8 @@
-// run-pass
+//@ run-pass
 #![allow(dead_code)]
-// aux-build:issue-10028.rs
+//@ aux-build:issue-10028.rs
 
-// pretty-expanded FIXME #23616
+//@ pretty-expanded FIXME #23616
 
 extern crate issue_10028 as issue10028;
 
diff --git a/tests/ui/drop/issue-103107.rs b/tests/ui/drop/issue-103107.rs
index 5f447595662..01ae998d090 100644
--- a/tests/ui/drop/issue-103107.rs
+++ b/tests/ui/drop/issue-103107.rs
@@ -1,5 +1,5 @@
-// check-pass
-// compile-flags: -Z validate-mir
+//@ check-pass
+//@ compile-flags: -Z validate-mir
 
 struct Foo<'a>(&'a mut u32);
 
diff --git a/tests/ui/drop/issue-110682.rs b/tests/ui/drop/issue-110682.rs
index 35f9c7e8d9b..454615a5a01 100644
--- a/tests/ui/drop/issue-110682.rs
+++ b/tests/ui/drop/issue-110682.rs
@@ -1,5 +1,5 @@
-// build-pass
-// compile-flags: -Zmir-opt-level=3
+//@ build-pass
+//@ compile-flags: -Zmir-opt-level=3
 
 use std::fmt::Debug;
 use std::mem::ManuallyDrop;
diff --git a/tests/ui/drop/issue-17718-const-destructors.rs b/tests/ui/drop/issue-17718-const-destructors.rs
index c9a729c7b20..f32b129e359 100644
--- a/tests/ui/drop/issue-17718-const-destructors.rs
+++ b/tests/ui/drop/issue-17718-const-destructors.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 #![allow(dead_code)]
 struct A;
 impl Drop for A {
diff --git a/tests/ui/drop/issue-21486.rs b/tests/ui/drop/issue-21486.rs
index 46d6ccd56bd..101cbbf38e3 100644
--- a/tests/ui/drop/issue-21486.rs
+++ b/tests/ui/drop/issue-21486.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(unreachable_code)]
 // Issue #21486: Make sure that all structures are dropped, even when
 // created via FRU and control-flow breaks in the middle of
diff --git a/tests/ui/drop/issue-23338-ensure-param-drop-order.rs b/tests/ui/drop/issue-23338-ensure-param-drop-order.rs
index 52603744c45..f283b33f645 100644
--- a/tests/ui/drop/issue-23338-ensure-param-drop-order.rs
+++ b/tests/ui/drop/issue-23338-ensure-param-drop-order.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(non_upper_case_globals)]
 
 // This test is ensuring that parameters are indeed dropped after
diff --git a/tests/ui/drop/issue-2734.rs b/tests/ui/drop/issue-2734.rs
index df4f394dc37..028f86ebb3a 100644
--- a/tests/ui/drop/issue-2734.rs
+++ b/tests/ui/drop/issue-2734.rs
@@ -1,8 +1,8 @@
-// run-pass
+//@ run-pass
 #![allow(dead_code)]
 #![allow(non_camel_case_types)]
 
-// pretty-expanded FIXME #23616
+//@ pretty-expanded FIXME #23616
 
 trait hax {
     fn dummy(&self) { }
diff --git a/tests/ui/drop/issue-2735-2.rs b/tests/ui/drop/issue-2735-2.rs
index 70ebce9d35a..7a6ed6ea2f8 100644
--- a/tests/ui/drop/issue-2735-2.rs
+++ b/tests/ui/drop/issue-2735-2.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(non_camel_case_types)]
 
 use std::cell::Cell;
diff --git a/tests/ui/drop/issue-2735-3.rs b/tests/ui/drop/issue-2735-3.rs
index 23301537835..3bb4536537c 100644
--- a/tests/ui/drop/issue-2735-3.rs
+++ b/tests/ui/drop/issue-2735-3.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(non_camel_case_types)]
 
 use std::cell::Cell;
diff --git a/tests/ui/drop/issue-2735.rs b/tests/ui/drop/issue-2735.rs
index 20d3949a9f9..8fa3ac45d08 100644
--- a/tests/ui/drop/issue-2735.rs
+++ b/tests/ui/drop/issue-2735.rs
@@ -1,8 +1,8 @@
-// run-pass
+//@ run-pass
 #![allow(dead_code)]
 #![allow(non_camel_case_types)]
 
-// pretty-expanded FIXME #23616
+//@ pretty-expanded FIXME #23616
 
 trait hax {
     fn dummy(&self) { }
diff --git a/tests/ui/drop/issue-30018-nopanic.rs b/tests/ui/drop/issue-30018-nopanic.rs
index 291bab2736d..9cf346b8188 100644
--- a/tests/ui/drop/issue-30018-nopanic.rs
+++ b/tests/ui/drop/issue-30018-nopanic.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(unreachable_code)]
 // More thorough regression test for Issues #30018 and #30822. This
 // attempts to explore different ways that array element construction
diff --git a/tests/ui/drop/issue-35546.rs b/tests/ui/drop/issue-35546.rs
index 004679a6240..20b2eb3b821 100644
--- a/tests/ui/drop/issue-35546.rs
+++ b/tests/ui/drop/issue-35546.rs
@@ -1,4 +1,4 @@
-// build-pass
+//@ build-pass
 #![allow(dead_code)]
 // Regression test for #35546. Check that we are able to codegen
 // this. Before we had problems because of the drop glue signature
diff --git a/tests/ui/drop/issue-48962.rs b/tests/ui/drop/issue-48962.rs
index 80d815379be..428a6ca6cd2 100644
--- a/tests/ui/drop/issue-48962.rs
+++ b/tests/ui/drop/issue-48962.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(unused_must_use)]
 // Test that we are able to reinitialize box with moved referent
 static mut ORDER: [usize; 3] = [0, 0, 0];
diff --git a/tests/ui/drop/issue-90752-raw-ptr-shenanigans.rs b/tests/ui/drop/issue-90752-raw-ptr-shenanigans.rs
index 4e67b35949e..bfa169fd87d 100644
--- a/tests/ui/drop/issue-90752-raw-ptr-shenanigans.rs
+++ b/tests/ui/drop/issue-90752-raw-ptr-shenanigans.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 
 use std::cell::RefCell;
 
diff --git a/tests/ui/drop/issue-90752.rs b/tests/ui/drop/issue-90752.rs
index 4395e45e773..64495da7b9f 100644
--- a/tests/ui/drop/issue-90752.rs
+++ b/tests/ui/drop/issue-90752.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 
 use std::cell::RefCell;
 
diff --git a/tests/ui/drop/issue-979.rs b/tests/ui/drop/issue-979.rs
index 57a99b325ad..8d98ac4df23 100644
--- a/tests/ui/drop/issue-979.rs
+++ b/tests/ui/drop/issue-979.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(non_camel_case_types)]
 
 use std::cell::Cell;
diff --git a/tests/ui/drop/no-drop-flag-size.rs b/tests/ui/drop/no-drop-flag-size.rs
index 103e70ef6ee..d0e3346fd77 100644
--- a/tests/ui/drop/no-drop-flag-size.rs
+++ b/tests/ui/drop/no-drop-flag-size.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![allow(dead_code)]
 use std::mem::size_of;
 
diff --git a/tests/ui/drop/nondrop-cycle.rs b/tests/ui/drop/nondrop-cycle.rs
index 29070f917e4..9b32d1319c9 100644
--- a/tests/ui/drop/nondrop-cycle.rs
+++ b/tests/ui/drop/nondrop-cycle.rs
@@ -1,5 +1,5 @@
-// run-pass
-// pretty-expanded FIXME #23616
+//@ run-pass
+//@ pretty-expanded FIXME #23616
 
 use std::cell::Cell;
 
diff --git a/tests/ui/drop/recursion-check-on-erroneous-impl.rs b/tests/ui/drop/recursion-check-on-erroneous-impl.rs
index 733c8b0b085..83dd18a406a 100644
--- a/tests/ui/drop/recursion-check-on-erroneous-impl.rs
+++ b/tests/ui/drop/recursion-check-on-erroneous-impl.rs
@@ -1,6 +1,6 @@
 // can't use build-fail, because this also fails check-fail, but
 // the ICE from #120787 only reproduces on build-fail.
-// compile-flags: --emit=mir
+//@ compile-flags: --emit=mir
 
 struct PrintOnDrop<'a>(&'a str);
 
diff --git a/tests/ui/drop/repeat-drop.rs b/tests/ui/drop/repeat-drop.rs
index 0afb4bb11bc..b83bee8c1bf 100644
--- a/tests/ui/drop/repeat-drop.rs
+++ b/tests/ui/drop/repeat-drop.rs
@@ -1,5 +1,5 @@
-// run-pass
-// needs-unwind
+//@ run-pass
+//@ needs-unwind
 
 #![allow(dropping_references, dropping_copy_types)]
 
diff --git a/tests/ui/drop/terminate-in-initializer.rs b/tests/ui/drop/terminate-in-initializer.rs
index 66f267aa7c7..23169aaf65b 100644
--- a/tests/ui/drop/terminate-in-initializer.rs
+++ b/tests/ui/drop/terminate-in-initializer.rs
@@ -1,6 +1,6 @@
-// run-pass
-// needs-unwind
-// ignore-emscripten no threads support
+//@ run-pass
+//@ needs-unwind
+//@ ignore-emscripten no threads support
 
 // Issue #787
 // Don't try to clean up uninitialized locals
diff --git a/tests/ui/drop/use_inline_dtor.rs b/tests/ui/drop/use_inline_dtor.rs
index ac916de4646..03f476cff2a 100644
--- a/tests/ui/drop/use_inline_dtor.rs
+++ b/tests/ui/drop/use_inline_dtor.rs
@@ -1,7 +1,7 @@
-// run-pass
-// aux-build:inline_dtor.rs
+//@ run-pass
+//@ aux-build:inline_dtor.rs
 
-// pretty-expanded FIXME #23616
+//@ pretty-expanded FIXME #23616
 
 extern crate inline_dtor;