about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2022-01-27 23:34:33 +0300
committerMaybe Waffle <waffle.lapkin@gmail.com>2022-01-28 11:31:59 +0300
commitc932ca5f1cf62d041c943e5cfdcc1767c0664692 (patch)
treed7df24c038e345fc7e054983839881c0ad262f64 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent93036aa0e201474d43c38be3862f4a899defe267 (diff)
downloadrust-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