mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
feat: Honor recursion limit configuration
This patch makes RA understand `#![recursion_limit = "N"]` annotations. - `crate_limits` query is moved to `DefDatabase` - `DefMap` now has `recursion_limit: Option<u32>` field
This commit is contained in:
parent
81211f538c
commit
6d18c5b69d
6 changed files with 54 additions and 15 deletions
|
@ -270,6 +270,7 @@ pub mod known {
|
|||
global_allocator,
|
||||
test,
|
||||
test_case,
|
||||
recursion_limit,
|
||||
// Safe intrinsics
|
||||
abort,
|
||||
add_with_overflow,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue