Skip to content

Commit ca450e1

Browse files
Reorganize Test Headers
1 parent 6c6d210 commit ca450e1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/ui/consts/const-eval/stable-metric/ctfe-simple-loop.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
//@ check-pass
22
//@ revisions: warn allow
3+
//@ compile-flags: -Z tiny-const-eval-limit
4+
35
#![cfg_attr(warn, warn(long_running_const_eval))]
46
#![cfg_attr(allow, allow(long_running_const_eval))]
57

6-
//@ compile-flags: -Z tiny-const-eval-limit
78
const fn simple_loop(n: u32) -> u32 {
89
let mut index = 0;
910
while index < n {

tests/ui/consts/const-eval/stable-metric/evade-deduplication-issue-118612.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//@ check-pass
2+
//@ compile-flags: -Z tiny-const-eval-limit -Z deduplicate-diagnostics=yes
23

34
#![allow(long_running_const_eval)]
45

5-
//@ compile-flags: -Z tiny-const-eval-limit -Z deduplicate-diagnostics=yes
66
const FOO: () = {
77
let mut i = 0;
88
loop {

0 commit comments

Comments
 (0)