mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
interior-mutable types should be 'static' rather than 'const
This commit is contained in:
parent
09aceea36d
commit
7413a9954f
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ use syntax::SmolStr;
|
|||
|
||||
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 a new issue