about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-25 03:16:07 +0000
committerbors <bors@rust-lang.org>2024-01-25 03:16:07 +0000
commit68411c955458ffbc98649d6dd057c4be3b187f38 (patch)
tree19711bd4d8866cfda77b96573f7bd7406f079c11 /compiler/rustc_query_impl/src
parent7ffc697ce10f19447c0ce338428ae4b9bc0c041c (diff)
parent1c9e621308f08a96b7f11b48ae9155d7a411bcbe (diff)
downloadrust-68411c955458ffbc98649d6dd057c4be3b187f38.tar.gz
rust-68411c955458ffbc98649d6dd057c4be3b187f38.zip
Auto merge of #119627 - oli-obk:const_prop_lint_n̵o̵n̵sense, r=cjgillot
Remove all ConstPropNonsense

We track all locals and projections on them ourselves within the const propagator and only use the InterpCx to actually do some low level operations or read from constants (via `OpTy` we get for said constants).

This helps moving the const prop lint out from the normal pipeline and running it just based on borrowck information. This in turn allows us to make progress on https://github.com/rust-lang/rust/pull/108730#issuecomment-1875557745

there are various follow up cleanups that can be done after this PR (e.g. not matching on Rvalue twice and doing binop checks twice), but lets try landing this one first.

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