diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-01-27 23:34:33 +0300 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-01-28 11:31:59 +0300 |
| commit | c932ca5f1cf62d041c943e5cfdcc1767c0664692 (patch) | |
| tree | d7df24c038e345fc7e054983839881c0ad262f64 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 93036aa0e201474d43c38be3862f4a899defe267 (diff) | |
| download | rust-c932ca5f1cf62d041c943e5cfdcc1767c0664692.tar.gz rust-c932ca5f1cf62d041c943e5cfdcc1767c0664692.zip | |
Add `crate_limits` query to `SourceDatabase`
This allows fetching crate limits like `recursion_limit`. The implementation is currently dummy and just returns the defaults. Future work: Use this query instead of the hardcoded constant. Future work: Actually implement this query by parsing `#![recursion_limit = N]` attribute.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
