mbuffer from big float with gob encode vm hook impl + tests #1444
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (5)
vm/src/vm_hooks/vh_handler/vh_managed_types.rs|6 col 24| error[E0432]: unresolved import gob::Buf
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:6:24
|
6 | use gob::{ser::TypeId, Buf, StreamDeserializer, StreamSerializer};
| ^^^ no Buf
in the root
vm/src/vm_hooks/vh_handler/vh_managed_types.rs|6 col 11| warning: unused imports: StreamDeserializer
, StreamSerializer
, ser::TypeId
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:6:11
|
6 | use gob::{ser::TypeId, Buf, StreamDeserializer, StreamSerializer};
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)]
on by default
vm/src/vm_hooks/vh_handler/vh_managed_types.rs|7 col 18| warning: unused imports: Signed
, float
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:7:18
|
7 | use num_traits::{float, Signed, ToBytes};
| ^^^^^ ^^^^^^
vm/src/vm_hooks/vh_handler/vh_managed_types.rs|8 col 5| warning: unused import: serde::ser::Serializer
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:8:5
|
8 | use serde::ser::Serializer;
| ^^^^^^^^^^^^^^^^^^^^^^
vm/src/vm_hooks/vh_handler/vh_managed_types.rs|7 col 33| warning: unused import: ToBytes
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:7:33
|
7 | use num_traits::{float, Signed, ToBytes};
| ^^^^^^^
Filtered Findings (0)
Annotations
Check failure on line 6 in vm/src/vm_hooks/vh_handler/vh_managed_types.rs
github-actions / clippy
[clippy] vm/src/vm_hooks/vh_handler/vh_managed_types.rs#L6
error[E0432]: unresolved import `gob::Buf`
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:6:24
|
6 | use gob::{ser::TypeId, Buf, StreamDeserializer, StreamSerializer};
| ^^^ no `Buf` in the root
Raw output
vm/src/vm_hooks/vh_handler/vh_managed_types.rs:6:24:e:error[E0432]: unresolved import `gob::Buf`
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:6:24
|
6 | use gob::{ser::TypeId, Buf, StreamDeserializer, StreamSerializer};
| ^^^ no `Buf` in the root
__END__
Check warning on line 6 in vm/src/vm_hooks/vh_handler/vh_managed_types.rs
github-actions / clippy
[clippy] vm/src/vm_hooks/vh_handler/vh_managed_types.rs#L6
warning: unused imports: `StreamDeserializer`, `StreamSerializer`, `ser::TypeId`
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:6:11
|
6 | use gob::{ser::TypeId, Buf, StreamDeserializer, StreamSerializer};
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Raw output
vm/src/vm_hooks/vh_handler/vh_managed_types.rs:6:11:w:warning: unused imports: `StreamDeserializer`, `StreamSerializer`, `ser::TypeId`
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:6:11
|
6 | use gob::{ser::TypeId, Buf, StreamDeserializer, StreamSerializer};
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
__END__
Check warning on line 7 in vm/src/vm_hooks/vh_handler/vh_managed_types.rs
github-actions / clippy
[clippy] vm/src/vm_hooks/vh_handler/vh_managed_types.rs#L7
warning: unused imports: `Signed`, `float`
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:7:18
|
7 | use num_traits::{float, Signed, ToBytes};
| ^^^^^ ^^^^^^
Raw output
vm/src/vm_hooks/vh_handler/vh_managed_types.rs:7:18:w:warning: unused imports: `Signed`, `float`
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:7:18
|
7 | use num_traits::{float, Signed, ToBytes};
| ^^^^^ ^^^^^^
__END__
Check warning on line 8 in vm/src/vm_hooks/vh_handler/vh_managed_types.rs
github-actions / clippy
[clippy] vm/src/vm_hooks/vh_handler/vh_managed_types.rs#L8
warning: unused import: `serde::ser::Serializer`
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:8:5
|
8 | use serde::ser::Serializer;
| ^^^^^^^^^^^^^^^^^^^^^^
Raw output
vm/src/vm_hooks/vh_handler/vh_managed_types.rs:8:5:w:warning: unused import: `serde::ser::Serializer`
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:8:5
|
8 | use serde::ser::Serializer;
| ^^^^^^^^^^^^^^^^^^^^^^
__END__
Check warning on line 7 in vm/src/vm_hooks/vh_handler/vh_managed_types.rs
github-actions / clippy
[clippy] vm/src/vm_hooks/vh_handler/vh_managed_types.rs#L7
warning: unused import: `ToBytes`
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:7:33
|
7 | use num_traits::{float, Signed, ToBytes};
| ^^^^^^^
Raw output
vm/src/vm_hooks/vh_handler/vh_managed_types.rs:7:33:w:warning: unused import: `ToBytes`
--> vm/src/vm_hooks/vh_handler/vh_managed_types.rs:7:33
|
7 | use num_traits::{float, Signed, ToBytes};
| ^^^^^^^
__END__