interior-mutable types should be 'static' rather than 'const

This commit is contained in:
Daniel Eades 2023-01-12 10:48:10 +00:00
parent 09aceea36d
commit 7413a9954f

View File

@ -7,7 +7,7 @@
use crate::{db::DefDatabase, HirFileId};
const MOD_DEPTH_LIMIT: Limit = Limit::new(32);
static MOD_DEPTH_LIMIT: Limit = Limit::new(32);
#[derive(Clone, Debug)]
pub(super) struct ModDir {