We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1e79c3 commit f8c3dc6Copy full SHA for f8c3dc6
src/librustc/mir/interpret/value.rs
@@ -50,6 +50,7 @@ impl<'tcx> ConstValue<'tcx> {
50
#[inline]
51
pub fn try_get_bytes(&self, hdl: impl HasDataLayout, n: Size, align: Align) -> Option<&[u8]> {
52
let (_, alloc, offset) = self.try_as_by_ref()?;
53
+ trace!("{:?}", alloc.get_bytes(hdl, offset, n, align));
54
alloc.get_bytes(hdl, offset, n, align).ok()
55
}
56
0 commit comments