MCPcopy Create free account
hub / github.com/Rust-for-Linux/klint / encode_alloc_id

Method encode_alloc_id

src/serde.rs:208–211  ·  view source on GitHub ↗
(&mut self, alloc_id: &rustc_middle::mir::interpret::AllocId)

Source from the content-addressed store, hash-verified

206 }
207
208 fn encode_alloc_id(&mut self, alloc_id: &rustc_middle::mir::interpret::AllocId) {
209 let (index, _) = self.interpret_allocs.insert_full(*alloc_id);
210 index.encode(self);
211 }
212}
213
214const TAG_FULL_SPAN: u8 = 0;

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected