mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
89c3582d59
The inliner integrates call destination place with callee return place by remapping the local and adding extra projections as necessary. If a call destination place contains any projections (which is already possible) and a return place is used in an indexing projection (most likely doesn't happen yet) the end result would be incorrect. Add an assertion to ensure that potential issue won't go unnoticed in the presence of more sophisticated copy propagation scheme. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |