about summary refs log tree commit diff
path: root/tests/coverage/issue-93054.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coverage/issue-93054.rs')
-rw-r--r--tests/coverage/issue-93054.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/coverage/issue-93054.rs b/tests/coverage/issue-93054.rs
index da546cfeef8..f16fc1e4239 100644
--- a/tests/coverage/issue-93054.rs
+++ b/tests/coverage/issue-93054.rs
@@ -1,11 +1,10 @@
 #![allow(dead_code, unreachable_code)]
+// edition: 2021
 
 // Regression test for #93054: Functions using uninhabited types often only have a single,
 // unreachable basic block which doesn't get instrumented. This should not cause llvm-cov to fail.
 // Since these kinds functions can't be invoked anyway, it's ok to not have coverage data for them.
 
-// compile-flags: --edition=2021
-
 enum Never {}
 
 impl Never {