interior-mutable types should be 'static' rather than 'const
This commit is contained in:
parent
09aceea36d
commit
7413a9954f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user