Skip to content

Commit 0312c6c

Browse files
committed
Mark test for MIR execution limit as slow test
1 parent 75ac37f commit 0312c6c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/hir-ty/src/consteval/tests.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use base_db::{fixture::WithFixture, FileId};
22
use chalk_ir::Substitution;
33
use hir_def::db::DefDatabase;
4+
use test_utils::skip_slow_tests;
45

56
use crate::{
67
consteval::try_const_usize, db::HirDatabase, mir::pad16, test_db::TestDB, Const, ConstScalar,
@@ -2458,6 +2459,10 @@ fn const_trait_assoc() {
24582459

24592460
#[test]
24602461
fn exec_limits() {
2462+
if skip_slow_tests() {
2463+
return;
2464+
}
2465+
24612466
check_fail(
24622467
r#"
24632468
const GOAL: usize = loop {};

0 commit comments

Comments
 (0)