You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
debuginfo::block() uses the provided trans::common::block for creating lexical block DIEs. trans::common::block, however, corresponds to LLVM basic blocks and not to rust lexical blocks.
A possible direction towards correcting this could be to look at the scope_info field in trans::common::block or to get ahold of the correct ast::blk somehow.
The text was updated successfully, but these errors were encountered:
This turns out to be a false alarm. debuginfo::block_metadata() already searches for the right ast::blk. I added some documentation to make this clear to the currently open PR (#7710).
…ncation, r=flip1995
avoid linting `possible_truncation` on bit-reducing operations
---
*Please write a short comment explaining your change (or "none" for internal only changes)*
changelog: avoid linting `possible_truncation` on bit-reducing operations
debuginfo::block()
uses the providedtrans::common::block
for creating lexical block DIEs.trans::common::block
, however, corresponds to LLVM basic blocks and not to rust lexical blocks.A possible direction towards correcting this could be to look at the
scope_info
field intrans::common::block
or to get ahold of the correctast::blk
somehow.The text was updated successfully, but these errors were encountered: