error: type parameter goes unused in function definition
--> demo/src/main.rs:11:14
|
11 | type MultiBuf;
| ^^^^^^^^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `-D clippy::extra-unused-type-parameters` implied by `-D clippy::all`
error: type parameter goes unused in function definition
--> src/cxx_string.rs:94:15
|
94 | pub fn new<T: Private>() -> Self {
| ^^^^^^^^^^^^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
error: type parameter goes unused in function definition
--> src/extern_type.rs:184:27
|
184 | pub fn verify_extern_type<T: ExternType<Id = Id>, Id>() {}
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `-D clippy::extra-unused-type-parameters` implied by `-D clippy::all`
error: type parameter goes unused in function definition
--> src/extern_type.rs:187:27
|
187 | pub fn verify_extern_kind<T: ExternType<Kind = Kind>, Kind: self::Kind>() {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
error: type parameter goes unused in function definition
--> tests/ffi/lib.rs:230:14
|
230 | type Reference<'a>;
| ^^^^^^^^^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `-D clippy::extra-unused-type-parameters` implied by `-D clippy::all`
error: type parameter goes unused in function definition
--> tests/ffi/lib.rs:259:14
|
259 | type R;
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
warning: unused return value of `Box::<T>::from_raw` that must be used
--> tests/ffi/lib.rs:337:22
|
337 | impl Box<Shared> {}
| ^^
|
= note: `#[warn(unused_must_use)]` on by default
= note: call `drop(from_raw(ptr))` if you intend to drop the `Box`
warning: unused return value of `Box::<T>::from_raw` that must be used
--> tests/ffi/lib.rs:72:27
|
72 | second: Box<Second>,
| ^
|
= note: call `drop(from_raw(ptr))` if you intend to drop the `Box`
warning: unused return value of `Box::<T>::from_raw` that must be used
--> tests/ffi/lib.rs:99:35
|
99 | fn c_return_box() -> Box<R>;
| ^
|
= note: call `drop(from_raw(ptr))` if you intend to drop the `Box`
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/module.rs:74:23
|
74 | impl UniquePtr<D> {}
| ^^ help: remove this attribute
|
= note: `#[warn(unused_attributes)]` on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/module.rs:75:23
|
75 | impl UniquePtr<E> {}
| ^^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/module.rs:76:23
|
76 | impl UniquePtr<F> {}
| ^^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/module.rs:77:23
|
77 | impl UniquePtr<G> {}
| ^^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/module.rs:57:51
|
57 | fn c_return_ns_unique_ptr() -> UniquePtr<H>;
| ^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/module.rs:71:54
|
71 | fn ns_c_return_unique_ptr_ns() -> UniquePtr<I>;
| ^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/lib.rs:227:18
|
227 | #[derive(ExternType)]
| ^^^^^^^^^^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/lib.rs:337:34
|
337 | impl CxxVector<SharedString> {}
| ^^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/lib.rs:99:48
|
99 | fn c_return_unique_ptr() -> UniquePtr<C>;
| ^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/lib.rs💯48
|
100 | fn c_return_shared_ptr() -> SharedPtr<C>;
| ^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/lib.rs:112:77
|
112 | fn c_return_unique_ptr_vector_shared() -> UniquePtr<CxxVector<Shared>>;
| ^^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/lib.rs:113:72
|
113 | fn c_return_unique_ptr_vector_opaque() -> UniquePtr<CxxVector<C>>;
| ^^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/lib.rs:204:44
|
204 | fn c_get_use_count(weak: &WeakPtr<C>) -> usize;
| ^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
warning: `#[doc(hidden)]` is ignored on trait impl items
--> tests/ffi/lib.rs:234:72
|
234 | fn c_return_borrow<'a>(s: &'a CxxString) -> UniquePtr<Borrow<'a>>;
| ^^ help: remove this attribute
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item