MCPcopy Index your code
hub / github.com/RustPython/RustPython / miri_test_drop

Function miri_test_drop

crates/vm/src/object/core.rs:2560–2565  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2558
2559 #[test]
2560 fn miri_test_drop() {
2561 //cspell:ignore dfghjkl
2562 let ctx = crate::Context::genesis();
2563 let obj = ctx.new_bytes(b"dfghjkl".to_vec());
2564 drop(obj);
2565 }
2566}

Callers

nothing calls this directly

Calls 2

to_vecMethod · 0.80
new_bytesMethod · 0.45

Tested by

no test coverage detected