about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-14 05:30:53 +0000
committerbors <bors@rust-lang.org>2023-07-14 05:30:53 +0000
commitfe03b46ee4688a99d7155b4f9dcd875b6903952d (patch)
treef959370e32573bb5c3438b14d39636e72d4472a4 /compiler/rustc_trait_selection/src
parent7d60819bfd0d66bdc300713101bd285350407038 (diff)
parent667d75e546e318625f4d0a3c25cb04b78c14826e (diff)
downloadrust-fe03b46ee4688a99d7155b4f9dcd875b6903952d.tar.gz
rust-fe03b46ee4688a99d7155b4f9dcd875b6903952d.zip
Auto merge of #113609 - nnethercote:maybe_lint_level_root_bounded-cache, r=cjgillot
Add a cache for `maybe_lint_level_root_bounded`

`maybe_lint_level_root_bounded` is called many times and traces node sub-paths many times. This PR adds a cache that lets many of these tracings be skipped, avoiding lots of calls to functions like `Map::attrs` and `Map::parent_id`.

r? `@cjgillot`
Diffstat (limited to 'compiler/rustc_trait_selection/src')
0 files changed, 0 insertions, 0 deletions