Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 7413a99

Browse files
committed
interior-mutable types should be 'static' rather than 'const
1 parent 09aceea commit 7413a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-def/src/nameres/mod_resolution.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use syntax::SmolStr;
77

88
use crate::{db::DefDatabase, HirFileId};
99

10-
const MOD_DEPTH_LIMIT: Limit = Limit::new(32);
10+
static MOD_DEPTH_LIMIT: Limit = Limit::new(32);
1111

1212
#[derive(Clone, Debug)]
1313
pub(super) struct ModDir {

0 commit comments

Comments
 (0)