pyo3/tests
messense 512bd6a332
Drop a reference does nothing
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
2017-07-18 22:35:05 +08:00
..
compile-fail Add compile-test (#38) 2017-06-18 23:41:20 +08:00
check_symbols.py include py3 ffi info into crate 2017-05-12 22:05:00 -07:00
compile_tests.rs fix ref counter for get_kwargs 2017-07-04 10:24:04 +06:00
test_buffer_protocol.rs Use is_null() to check whether a ptr is null 2017-07-18 22:32:31 +08:00
test_class.rs Drop a reference does nothing 2017-07-18 22:35:05 +08:00
test_slice.rs remove associated_consts feature 2017-07-14 03:17:57 -07:00