about summary refs log tree commit diff
path: root/tests/ui/consts/miri_unleashed/drop.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/miri_unleashed/drop.rs')
-rw-r--r--tests/ui/consts/miri_unleashed/drop.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/consts/miri_unleashed/drop.rs b/tests/ui/consts/miri_unleashed/drop.rs
index 45ade4906b8..17d089222d9 100644
--- a/tests/ui/consts/miri_unleashed/drop.rs
+++ b/tests/ui/consts/miri_unleashed/drop.rs
@@ -14,4 +14,6 @@ static TEST_OK: () = {
 // The actual error is tested by the error-pattern above.
 static TEST_BAD: () = {
     let _v: Vec<i32> = Vec::new();
-};
+}; //~ ERROR could not evaluate static initializer
+
+//~? WARN skipping const checks