diff options
| author | bors <bors@rust-lang.org> | 2024-03-16 04:35:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-16 04:35:02 +0000 |
| commit | c563f2ee799b285067124b516ce99f26063f8351 (patch) | |
| tree | 91895e6faf0242cc634ab7041171ae4b603052fc /compiler/rustc_lint/src | |
| parent | c03ea3dfd907e7dc6305ebf20c94f3a1f1d9fed7 (diff) | |
| parent | 746e4eff263527ba8960552ea62db11ab9821644 (diff) | |
| download | rust-c563f2ee799b285067124b516ce99f26063f8351.tar.gz rust-c563f2ee799b285067124b516ce99f26063f8351.zip | |
Auto merge of #122371 - oli-obk:visit_nested_body, r=tmiasko
Stop walking the bodies of statics for reachability, and evaluate them instead cc `@saethlin` `@RalfJung` cc #119214 This reuses the `DefIdVisitor` from `rustc_privacy`, because they basically try to do the same thing. This PR's changes can probably be extended to constants, too, but let's tackle that separately, it's likely more involved.
Diffstat (limited to 'compiler/rustc_lint/src')
0 files changed, 0 insertions, 0 deletions
