512bd6a332
https://doc.rust-lang.org/std/mem/fn.drop.html > This function is not magic; it is literally defined as > pub fn drop<T>(_x: T) { } > Because _x is moved into the function, it is automatically dropped before the function returns. warning: calls to `std::mem::drop` with a reference instead of an owned value. Dropping a reference does nothing. --> tests/test_class.rs:471:9 | 471 | drop(inst); | ^^^^^^^^^^ | = note: #[warn(drop_ref)] on by default note: argument has type &GCIntegration --> tests/test_class.rs:471:14 | 471 | drop(inst); | ^^^^ = help: for further information visit https://github.com/Manishearth/rust-clippy/wiki#drop_ref |
||
---|---|---|
.. | ||
compile-fail | ||
check_symbols.py | ||
compile_tests.rs | ||
test_buffer_protocol.rs | ||
test_class.rs | ||
test_slice.rs |