39 |
}
|
40 |
#[allow(clippy::forget_copy)]
|
41 |
mem::forget(ret); // raw and ret are the same (ret does not implement Drop trait)
|
32 |
#[no_mangle]
|
33 |
#[allow(clippy::forget_copy)]
|
34 |
pub extern "C" fn ffi_path_compile(path: *const c_char) -> *mut c_void {
|
32 |
#[no_mangle]
|
33 |
#[allow(clippy::forget_copy)]
|
34 |
pub extern "C" fn ffi_path_compile(path: *const c_char) -> *mut c_void {
|
128 |
Box::into_raw(pass);
|
129 |
#[allow(clippy::forget_copy)]
|
130 |
std::mem::forget(function);
|
117 |
Box::into_raw(pass);
|
118 |
#[allow(clippy::forget_copy)]
|
119 |
std::mem::forget(function);
|
30 |
let handle = Box::into_raw(std::mem::take(&mut self.handle));
|
31 |
#[allow(clippy::forget_copy, clippy::useless_transmute, deprecated)]
|
32 |
unsafe {
|
52 |
#[allow(clippy::forget_copy, deprecated)]
|
53 |
unsafe {
|
68 |
pub fn build(mut self) -> Result<Interpreter<'a, Op>> {
|
69 |
#[allow(clippy::forget_copy, deprecated)]
|
70 |
let handle = {
|
89 |
) -> Result<Interpreter<'a, Op>> {
|
90 |
#[allow(clippy::forget_copy, deprecated)]
|
91 |
let handle = {
|
25 |
#[allow(clippy::forget_copy, clippy::useless_transmute, deprecated)]
|
26 |
unsafe {
|
43 |
#[allow(clippy::forget_copy, deprecated)]
|
44 |
let handle = unsafe {
|
40 |
let handle = Box::into_raw(mem::take(&mut self.handle));
|
41 |
#[allow(clippy::forget_copy, clippy::useless_transmute, deprecated)]
|
42 |
unsafe {
|
85 |
#[allow(clippy::forget_copy, deprecated)]
|
86 |
let r = unsafe {
|
102 |
#[allow(clippy::forget_copy, clippy::useless_transmute, deprecated)]
|
103 |
unsafe {
|
136 |
#[allow(clippy::forget_copy, deprecated)]
|
137 |
unsafe {
|
1 |
#![allow(clippy::forget_copy)] // Used by dynasm.
|
2 |
#![warn(unused_imports)]
|
1 |
#![deny(warnings)]
|
2 |
#![allow(clippy::forget_copy)]
|
3 |
extern crate mpi;
|
1 |
#![deny(warnings)]
|
2 |
#![allow(clippy::forget_copy)]
|
3 |
extern crate mpi_fork_fnsp as mpi;
|
5 |
//
|
6 |
#![allow(clippy::forget_copy)]
|
1 |
// in generated code
|
2 |
#![allow(clippy::forget_copy)]
|
3 |
#![allow(clippy::useless_transmute)]
|
1 |
#![allow(clippy::forget_copy)] // windows-rs !implement macro
|
2 |
#![allow(clippy::useless_transmute)]
|
23 |
#![allow(clippy::forget_ref)]
|
24 |
#![allow(clippy::forget_copy)]
|
23 |
#![allow(clippy::forget_copy)]
|
23 |
#![allow(clippy::forget_copy)]
|
1 |
#![allow(clippy::forget_copy)] // Used by dynasm.
|
2 |
#![warn(unused_imports)]
|
1 |
#![allow(clippy::forget_copy)] // Used by dynasm.
|
2 |
#![warn(unused_imports)]
|
1 |
#![allow(clippy::forget_copy)] // Used by dynasm.
|
2 |
#![warn(unused_imports)]
|
5 |
// This way we can copy-paste Yokeable impls
|
6 |
#![allow(clippy::forget_copy)]
|