get triangles #330
Annotations
117 errors and 2 warnings
structure field `Center` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2061
error: structure field `Center` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2061:28
|
2061 | /* offset 0x00c */ Center: FVector,
| ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `center`
|
structure field `ConnectivityIdx` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2060
error: structure field `ConnectivityIdx` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2060:28
|
2060 | /* offset 0x008 */ ConnectivityIdx: u8,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `connectivity_idx`
|
structure field `Volume` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2059
error: structure field `Volume` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2059:28
|
2059 | /* offset 0x004 */ Volume: f32,
| ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `volume`
|
structure field `MaterialType` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2058
error: structure field `MaterialType` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2058:28
|
2058 | /* offset 0x000 */ MaterialType: u32,
| ^^^^^^^^^^^^ help: convert the identifier to snake case: `material_type`
|
structure field `NormalZMax` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2052
error: structure field `NormalZMax` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2052:28
|
2052 | /* offset 0x019 */ NormalZMax: u8,
| ^^^^^^^^^^ help: convert the identifier to snake case: `normal_zmax`
|
structure field `NormalZMin` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2051
error: structure field `NormalZMin` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2051:28
|
2051 | /* offset 0x018 */ NormalZMin: u8,
| ^^^^^^^^^^ help: convert the identifier to snake case: `normal_zmin`
|
structure field `MaterialType` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2050
error: structure field `MaterialType` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2050:28
|
2050 | /* offset 0x014 */ MaterialType: u32,
| ^^^^^^^^^^^^ help: convert the identifier to snake case: `material_type`
|
structure field `NumFaces` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2049
error: structure field `NumFaces` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2049:28
|
2049 | /* offset 0x010 */ NumFaces: i32,
| ^^^^^^^^ help: convert the identifier to snake case: `num_faces`
|
structure field `NumIndices` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2048
error: structure field `NumIndices` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2048:28
|
2048 | /* offset 0x00c */ NumIndices: i32,
| ^^^^^^^^^^ help: convert the identifier to snake case: `num_indices`
|
structure field `NumVertices` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2047
error: structure field `NumVertices` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2047:28
|
2047 | /* offset 0x008 */ NumVertices: i32,
| ^^^^^^^^^^^ help: convert the identifier to snake case: `num_vertices`
|
structure field `StartFace` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2046
error: structure field `StartFace` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2046:28
|
2046 | /* offset 0x004 */ StartFace: i32,
| ^^^^^^^^^ help: convert the identifier to snake case: `start_face`
|
structure field `StartVertex` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2045
error: structure field `StartVertex` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2045:28
|
2045 | /* offset 0x000 */ StartVertex: i32,
| ^^^^^^^^^^^ help: convert the identifier to snake case: `start_vertex`
|
structure field `CriticalSection` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2022
error: structure field `CriticalSection` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2022:28
|
2022 | /* offset 0x108 */ CriticalSection: FWindowsCriticalSection,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `critical_section`
|
structure field `GarbageAmount` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2021
error: structure field `GarbageAmount` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2021:28
|
2021 | /* offset 0x100 */ GarbageAmount: i32,
| ^^^^^^^^^^^^^ help: convert the identifier to snake case: `garbage_amount`
|
structure field `GarbLastEnd` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2020
error: structure field `GarbLastEnd` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2020:28
|
2020 | /* offset 0x0fc */ GarbLastEnd: u32,
| ^^^^^^^^^^^ help: convert the identifier to snake case: `garb_last_end`
|
structure field `GarbIndex` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2019
error: structure field `GarbIndex` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2019:28
|
2019 | /* offset 0x0f8 */ GarbIndex: i32,
| ^^^^^^^^^ help: convert the identifier to snake case: `garb_index`
|
structure field `GState` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2018
error: structure field `GState` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2018:28
|
2018 | /* offset 0x0f4 */ GState: GarbState,
| ^^^^^^ help: convert the identifier to snake case: `gstate`
|
structure field `ActiveRange` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2017
error: structure field `ActiveRange` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2017:28
|
2017 | /* offset 0x0f0 */ ActiveRange: u32,
| ^^^^^^^^^^^ help: convert the identifier to snake case: `active_range`
|
structure field `ActiveRangeList` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2016
error: structure field `ActiveRangeList` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2016:9
|
2016 | ActiveRangeList: [DeepVirtExpandingArray<DeepArrayPoolRange<C>>; 2],
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `active_range_list`
|
structure field `Pool` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L2014
error: structure field `Pool` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:2014:28
|
2014 | /* offset 0x000 */ Pool: DeepVirtExpandingArray<T>,
| ^^^^ help: convert the identifier to snake case: `pool`
|
structure field `CriticalSection` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1993
error: structure field `CriticalSection` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1993:9
|
1993 | CriticalSection: FWindowsCriticalSection,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `critical_section`
|
structure field `RefCounts` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1992
error: structure field `RefCounts` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1992:9
|
1992 | RefCounts: TArrayInline<u16, A>, // TODO inline allocator
| ^^^^^^^^^ help: convert the identifier to snake case: `ref_counts`
|
structure field `FreeIndices` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1991
error: structure field `FreeIndices` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1991:9
|
1991 | FreeIndices: TArrayInline<u32, A>, // TODO inline allocator
| ^^^^^^^^^^^ help: convert the identifier to snake case: `free_indices`
|
structure field `Pool` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1990
error: structure field `Pool` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1990:9
|
1990 | Pool: DeepVirtExpandingArray<T>,
| ^^^^ help: convert the identifier to snake case: `pool`
|
structure field `VertCount` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1945
error: structure field `VertCount` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1945:28
|
1945 | /* offset 0x003 */ VertCount: u8,
| ^^^^^^^^^ help: convert the identifier to snake case: `vert_count`
|
structure field `Normal` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1944
error: structure field `Normal` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1944:28
|
1944 | /* offset 0x000 */ Normal: [u8; 3],
| ^^^^^^ help: convert the identifier to snake case: `normal`
|
structure field `Material` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1938
error: structure field `Material` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1938:28
|
1938 | /* offset 0x006 */ Material: u16,
| ^^^^^^^^ help: convert the identifier to snake case: `material`
|
structure field `Offset2` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1937
error: structure field `Offset2` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1937:28
|
1937 | /* offset 0x005 */ Offset2: u8,
| ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `offset2`
|
structure field `Offset1` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1936
error: structure field `Offset1` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1936:28
|
1936 | /* offset 0x004 */ Offset1: u8,
| ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `offset1`
|
structure field `BaseIdx` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1935
error: structure field `BaseIdx` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1935:28
|
1935 | /* offset 0x000 */ BaseIdx: u32,
| ^^^^^^^ help: convert the identifier to snake case: `base_idx`
|
structure field `DebrisComponent` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1929
error: structure field `DebrisComponent` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1929:28
|
1929 | /* offset 0x010 */ DebrisComponent: *const (), // UDebrisInstances,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `debris_component`
|
structure field `Index` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1928
error: structure field `Index` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1928:28
|
1928 | /* offset 0x00c */ Index: i32,
| ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index`
|
structure field `Pos` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1927
error: structure field `Pos` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1927:28
|
1927 | /* offset 0x000 */ Pos: FVector,
| ^^^ help: convert the identifier to snake case: `pos`
|
structure field `Index` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1921
error: structure field `Index` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1921:28
|
1921 | /* offset 0x00c */ Index: i32,
| ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index`
|
structure field `Pos` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1920
error: structure field `Pos` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1920:28
|
1920 | /* offset 0x000 */ Pos: FVector,
| ^^^ help: convert the identifier to snake case: `pos`
|
structure field `GlobalNode` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1914
error: structure field `GlobalNode` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1914:28
|
1914 | /* offset 0x004 */ GlobalNode: u32,
| ^^^^^^^^^^ help: convert the identifier to snake case: `global_node`
|
structure field `SideIdx` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1897
error: structure field `SideIdx` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1897:28
|
1897 | /* offset 0x00d */ SideIdx: u8,
| ^^^^^^^ help: convert the identifier to snake case: `side_idx`
|
structure field `SolidIdx` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1896
error: structure field `SolidIdx` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1896:28
|
1896 | /* offset 0x00c */ SolidIdx: u8,
| ^^^^^^^^ help: convert the identifier to snake case: `solid_idx`
|
structure field `Point` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1895
error: structure field `Point` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1895:28
|
1895 | /* offset 0x000 */ Point: FVector,
| ^^^^^ help: convert the identifier to snake case: `point`
|
structure field `SideIdx` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1889
error: structure field `SideIdx` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1889:28
|
1889 | /* offset 0x001 */ SideIdx: u8,
| ^^^^^^^ help: convert the identifier to snake case: `side_idx`
|
structure field `SolidIdx` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1888
error: structure field `SolidIdx` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1888:28
|
1888 | /* offset 0x000 */ SolidIdx: u8,
| ^^^^^^^^ help: convert the identifier to snake case: `solid_idx`
|
structure field `ChunkIndex` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1882
error: structure field `ChunkIndex` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1882:28
|
1882 | /* offset 0x004 */ ChunkIndex: u8,
| ^^^^^^^^^^ help: convert the identifier to snake case: `chunk_index`
|
structure field `Rank` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1881
error: structure field `Rank` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1881:28
|
1881 | /* offset 0x002 */ Rank: u16,
| ^^^^ help: convert the identifier to snake case: `rank`
|
structure field `Parent` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1880
error: structure field `Parent` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1880:28
|
1880 | /* offset 0x000 */ Parent: FChunkInternalConnectivityId,
| ^^^^^^ help: convert the identifier to snake case: `parent`
|
structure field `SolidIdx` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1874
error: structure field `SolidIdx` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1874:28
|
1874 | /* offset 0x001 */ SolidIdx: u8,
| ^^^^^^^^ help: convert the identifier to snake case: `solid_idx`
|
structure field `CellId` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1873
error: structure field `CellId` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1873:28
|
1873 | /* offset 0x000 */ CellId: u8,
| ^^^^^^ help: convert the identifier to snake case: `cell_id`
|
structure field `Rank` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1867
error: structure field `Rank` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1867:28
|
1867 | /* offset 0x008 */ Rank: u16,
| ^^^^ help: convert the identifier to snake case: `rank`
|
structure field `Parent` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1866
error: structure field `Parent` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1866:28
|
1866 | /* offset 0x000 */ Parent: FChunkGlobalConnectivityId,
| ^^^^^^ help: convert the identifier to snake case: `parent`
|
structure field `ChunkIdx` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1860
error: structure field `ChunkIdx` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1860:28
|
1860 | /* offset 0x004 */ ChunkIdx: u8,
| ^^^^^^^^ help: convert the identifier to snake case: `chunk_idx`
|
structure field `ChunkId` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1859
error: structure field `ChunkId` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1859:28
|
1859 | /* offset 0x000 */ ChunkId: FEncodedChunkId,
| ^^^^^^^ help: convert the identifier to snake case: `chunk_id`
|
structure field `ConnectivityUFs` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1846
error: structure field `ConnectivityUFs` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1846:9
|
1846 | ConnectivityUFs: DeepArrayPool<FChunkGlobalConnectivityUnionFind, u32>,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `connectivity_ufs`
|
structure field `ConnectivyUF0` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1844
error: structure field `ConnectivyUF0` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1844:28
|
1844 | /* offset 0x008 */ ConnectivyUF0: FChunkGlobalConnectivityUnionFind,
| ^^^^^^^^^^^^^ help: convert the identifier to snake case: `connectivy_uf0`
|
structure field `numChunkConnectivityRegions` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1843
error: structure field `numChunkConnectivityRegions` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1843:28
|
1843 | /* offset 0x006 */ numChunkConnectivityRegions: u8,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_chunk_connectivity_regions`
|
structure field `singleSideChunkConnectivity` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1842
error: structure field `singleSideChunkConnectivity` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1842:28
|
1842 | /* offset 0x000 */ singleSideChunkConnectivity: [u8; 6],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `single_side_chunk_connectivity`
|
structure field `BitVolumeBuffers3` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1813
error: structure field `BitVolumeBuffers3` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1813:9
|
1813 | BitVolumeBuffers3: DeepBitVolumeBufferPool<0x40>,
| ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bit_volume_buffers3`
|
structure field `VolumeBuffers3` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1812
error: structure field `VolumeBuffers3` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1812:9
|
1812 | VolumeBuffers3: DeepVolumeBufferPool<0x200>,
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `volume_buffers3`
|
structure field `BitVolumeBuffers2` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1811
error: structure field `BitVolumeBuffers2` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1811:9
|
1811 | BitVolumeBuffers2: DeepBitVolumeBufferPool<0x10>,
| ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bit_volume_buffers2`
|
structure field `VolumeBuffers2` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1810
error: structure field `VolumeBuffers2` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1810:9
|
1810 | VolumeBuffers2: DeepVolumeBufferPool<0x40>,
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `volume_buffers2`
|
structure field `BitVolumeBuffers1` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1809
error: structure field `BitVolumeBuffers1` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1809:9
|
1809 | BitVolumeBuffers1: DeepBitVolumeBufferPool<0x4>,
| ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bit_volume_buffers1`
|
structure field `VolumeBuffers1` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1808
error: structure field `VolumeBuffers1` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1808:9
|
1808 | VolumeBuffers1: DeepVolumeBufferPool<0x8>,
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `volume_buffers1`
|
structure field `GlobalConnectivityUF` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1806
error: structure field `GlobalConnectivityUF` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1806:9
|
1806 | GlobalConnectivityUF:
| ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `global_connectivity_uf`
|
structure field `InternalConnectivityUF` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1804
error: structure field `InternalConnectivityUF` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1804:9
|
1804 | InternalConnectivityUF:
| ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `internal_connectivity_uf`
|
structure field `ConnectivitySidePoints` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1802
error: structure field `ConnectivitySidePoints` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1802:9
|
1802 | ConnectivitySidePoints:
| ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `connectivity_side_points`
|
structure field `ConnectivityPoints` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1801
error: structure field `ConnectivityPoints` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1801:9
|
1801 | ConnectivityPoints: DeepArrayPool<FTerrainConnectivityPoint, FDeepCellStoredConnectivity>,
| ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `connectivity_points`
|
structure field `PFCollision` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1800
error: structure field `PFCollision` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1800:9
|
1800 | PFCollision: DeepArrayPool<FPFCollisionKey, FDeepCellStored>,
| ^^^^^^^^^^^ help: convert the identifier to snake case: `pfcollision`
|
structure field `FPNodes` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1799
error: structure field `FPNodes` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1799:9
|
1799 | FPNodes: DeepArrayPool<PFCellNode, FDeepCellStoredServer>,
| ^^^^^^^ help: convert the identifier to snake case: `fpnodes`
|
structure field `AttachPoints` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1798
error: structure field `AttachPoints` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1798:9
|
1798 | AttachPoints: DeepArrayPool<FAttachCSGPoint, FDeepCellStored>,
| ^^^^^^^^^^^^ help: convert the identifier to snake case: `attach_points`
|
structure field `Debris` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1797
error: structure field `Debris` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1797:9
|
1797 | Debris: DeepArrayPool<FDebrisCSGPoint, FDeepCellStored>,
| ^^^^^^ help: convert the identifier to snake case: `debris`
|
structure field `PhysTriangles` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1796
error: structure field `PhysTriangles` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1796:9
|
1796 | PhysTriangles: DeepArrayPool<FTerrainPhysTriangle, FDeepCellStored>,
| ^^^^^^^^^^^^^ help: convert the identifier to snake case: `phys_triangles`
|
structure field `Faces` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1795
error: structure field `Faces` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1795:9
|
1795 | Faces: DeepArrayPool<FTerrainMeshFace, FDeepCellStored>,
| ^^^^^ help: convert the identifier to snake case (notice the capitalization): `faces`
|
structure field `VertexPositions` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1794
error: structure field `VertexPositions` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1794:9
|
1794 | VertexPositions: DeepArrayPool<FTerrainMeshVertex, FDeepCellStored>,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vertex_positions`
|
structure field `SubVolumes` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1793
error: structure field `SubVolumes` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1793:9
|
1793 | SubVolumes: DeepArrayPool<FSubVolumeInfo, FDeepCellStored>,
| ^^^^^^^^^^ help: convert the identifier to snake case: `sub_volumes`
|
structure field `SubMeshes` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1792
error: structure field `SubMeshes` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1792:9
|
1792 | SubMeshes: DeepArrayPool<FSubMeshInfo, FDeepCellStored>,
| ^^^^^^^^^ help: convert the identifier to snake case: `sub_meshes`
|
structure field `Planes` should have a snake case name:
hook/src/hooks/debug_drawing.rs#L1791
error: structure field `Planes` should have a snake case name
--> hook/src/hooks/debug_drawing.rs:1791:9
|
1791 | Planes: DeepArrayPool<FDeepCSGPlane, FDeepCellStored>,
| ^^^^^^ help: convert the identifier to snake case: `planes`
|
= note: `-D non-snake-case` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(non_snake_case)]`
|
casting to the same type is unnecessary (`usize` -> `usize`):
hook/src/hooks/debug_drawing.rs#L2272
error: casting to the same type is unnecessary (`usize` -> `usize`)
--> hook/src/hooks/debug_drawing.rs:2272:72
|
2272 | let cell_offset = element_ptr!(this.section_infos.buffer => + (section_index as usize).*)
| ^^^^^^^^^^^^^^^^^^^^^^ help: try: `section_index`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
name `MAX` contains a capitalized acronym:
hook/src/hooks/debug_drawing.rs#L2149
error: name `MAX` contains a capitalized acronym
--> hook/src/hooks/debug_drawing.rs:2149:9
|
2149 | MAX = 0x2,
| ^^^ help: consider making the acronym lowercase, except the initial letter: `Max`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
= note: `-D clippy::upper-case-acronyms` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::upper_case_acronyms)]`
|
methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value:
hook/src/hooks/debug_drawing.rs#L1642
error: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value
--> hook/src/hooks/debug_drawing.rs:1642:25
|
1642 | fn to_world_pos(&self) -> FVector {
| ^^^^^
|
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
= note: `-D clippy::wrong-self-convention` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::wrong_self_convention)]`
|
writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do:
hook/src/hooks/debug_drawing.rs#L1568
error: writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do
--> hook/src/hooks/debug_drawing.rs:1568:17
|
1568 | points: &mut Vec<FBatchedPoint>,
| ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `&mut [FBatchedPoint]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
|
casting integer literal to `usize` is unnecessary:
hook/src/hooks/debug_drawing.rs#L1359
error: casting integer literal to `usize` is unnecessary
--> hook/src/hooks/debug_drawing.rs:1359:45
|
1359 | std::mem::transmute(0x143dc30b0 as usize);
| ^^^^^^^^^^^^^^^^^^^^ help: try: `0x143dc30b0_usize`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting integer literal to `usize` is unnecessary:
hook/src/hooks/debug_drawing.rs#L1357
error: casting integer literal to `usize` is unnecessary
--> hook/src/hooks/debug_drawing.rs:1357:76
|
1357 | let get_cell_real: FnGetCellReal = std::mem::transmute(0x143dc2ff0 as usize);
| ^^^^^^^^^^^^^^^^^^^^ help: try: `0x143dc2ff0_usize`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting integer literal to `usize` is unnecessary:
hook/src/hooks/debug_drawing.rs#L1240
error: casting integer literal to `usize` is unnecessary
--> hook/src/hooks/debug_drawing.rs:1240:55
|
1240 | let get_path: FnGetPath = std::mem::transmute(0x143dae9b0 as usize);
| ^^^^^^^^^^^^^^^^^^^^ help: try: `0x143dae9b0_usize`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
the loop variable `i` is used to index `cone_verts`:
hook/src/hooks/debug_drawing.rs#L601
error: the loop variable `i` is used to index `cone_verts`
--> hook/src/hooks/debug_drawing.rs:601:14
|
601 | for i in 0..num_sides {
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
= note: `-D clippy::needless-range-loop` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_range_loop)]`
help: consider using an iterator and enumerate()
|
601 | for (i, <item>) in cone_verts.iter().enumerate().take(num_sides) {
| ~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
casting to the same type is unnecessary (`usize` -> `usize`):
hook/src/hooks/debug_drawing.rs#L563
error: casting to the same type is unnecessary (`usize` -> `usize`)
--> hook/src/hooks/debug_drawing.rs:563:45
|
563 | let mut cone_verts = Vec::with_capacity(num_sides as usize);
| ^^^^^^^^^^^^^^^^^^ help: try: `num_sides`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `-D clippy::unnecessary-cast` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_cast)]`
|
usage of a legacy numeric constant:
hook/src/hooks/debug_drawing.rs#L555
error: usage of a legacy numeric constant
--> hook/src/hooks/debug_drawing.rs:555:78
|
555 | let angle2 = angle_width.clamp(std::f32::EPSILON, std::f32::consts::PI - std::f32::EPSILON);
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
555 | let angle2 = angle_width.clamp(std::f32::EPSILON, std::f32::consts::PI - f32::EPSILON);
| ~~~~~~~~~~~~
|
usage of a legacy numeric constant:
hook/src/hooks/debug_drawing.rs#L555
error: usage of a legacy numeric constant
--> hook/src/hooks/debug_drawing.rs:555:36
|
555 | let angle2 = angle_width.clamp(std::f32::EPSILON, std::f32::consts::PI - std::f32::EPSILON);
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
555 | let angle2 = angle_width.clamp(f32::EPSILON, std::f32::consts::PI - std::f32::EPSILON);
| ~~~~~~~~~~~~
|
usage of a legacy numeric constant:
hook/src/hooks/debug_drawing.rs#L554
error: usage of a legacy numeric constant
--> hook/src/hooks/debug_drawing.rs:554:79
|
554 | let angle1 = angle_height.clamp(std::f32::EPSILON, std::f32::consts::PI - std::f32::EPSILON);
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
554 | let angle1 = angle_height.clamp(std::f32::EPSILON, std::f32::consts::PI - f32::EPSILON);
| ~~~~~~~~~~~~
|
usage of a legacy numeric constant:
hook/src/hooks/debug_drawing.rs#L554
error: usage of a legacy numeric constant
--> hook/src/hooks/debug_drawing.rs:554:37
|
554 | let angle1 = angle_height.clamp(std::f32::EPSILON, std::f32::consts::PI - std::f32::EPSILON);
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: `-D clippy::legacy-numeric-constants` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::legacy_numeric_constants)]`
help: use the associated constant instead
|
554 | let angle1 = angle_height.clamp(f32::EPSILON, std::f32::consts::PI - std::f32::EPSILON);
| ~~~~~~~~~~~~
|
this function has too many arguments (10/7):
hook/src/hooks/debug_drawing.rs#L530
error: this function has too many arguments (10/7)
--> hook/src/hooks/debug_drawing.rs:530:1
|
530 | / unsafe fn draw_cone(
531 | | batcher: NonNull<ULineBatchComponent>,
532 | | origin: FVector,
533 | | direction: FVector,
... |
540 | | thickness: f32,
541 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (10/7):
hook/src/hooks/debug_drawing.rs#L499
error: this function has too many arguments (10/7)
--> hook/src/hooks/debug_drawing.rs:499:1
|
499 | / fn add_circle(
500 | | lines: &mut Vec<FBatchedLine>,
501 | | base: &Vector3<f32>,
502 | | x: &Vector3<f32>,
... |
509 | | thickness: f32,
510 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (10/7):
hook/src/hooks/debug_drawing.rs#L468
error: this function has too many arguments (10/7)
--> hook/src/hooks/debug_drawing.rs:468:1
|
468 | / fn add_half_circle(
469 | | lines: &mut Vec<FBatchedLine>,
470 | | base: &Vector3<f32>,
471 | | x: &Vector3<f32>,
... |
478 | | thickness: f32,
479 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `-D clippy::too-many-arguments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::too_many_arguments)]`
|
call to `reserve` immediately after creation:
hook/src/hooks/debug_drawing.rs#L393
error: call to `reserve` immediately after creation
--> hook/src/hooks/debug_drawing.rs:393:9
|
393 | / let mut lines = Vec::new();
394 | | lines.reserve(num_segments_y as usize * segments as usize * 2);
| |_______________________________________________________________________^ help: consider using `Vec::with_capacity(/* Space hint */)`: `let mut lines = Vec::with_capacity(num_segments_y as usize * segments as usize * 2);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization
= note: `-D clippy::reserve-after-initialization` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::reserve_after_initialization)]`
|
type alias `FnGetAllSpawnPointsInSphere` is never used:
hook/src/hooks/debug_drawing.rs#L2187
error: type alias `FnGetAllSpawnPointsInSphere` is never used
--> hook/src/hooks/debug_drawing.rs:2187:10
|
2187 | type FnGetAllSpawnPointsInSphere = unsafe extern "system" fn(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
variants `Floor`, `Walls`, and `Ceiling` are never constructed:
hook/src/hooks/debug_drawing.rs#L2176
error: variants `Floor`, `Walls`, and `Ceiling` are never constructed
--> hook/src/hooks/debug_drawing.rs:2176:9
|
2174 | enum DeepPathFinderPreference {
| ------------------------ variants in this enum
2175 | None = 0x0,
2176 | Floor = 0x1,
| ^^^^^
2177 | Walls = 0x2,
| ^^^^^
2178 | Ceiling = 0x3,
| ^^^^^^^
|
= note: `DeepPathFinderPreference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
variants `Failed_StartingPointNotFound`, `Failed_EndPointNotFound`, `Failed_PointsNotConnected`, `Failed_UsedTooManyNodes`, `Failed_NotReady`, and `Failed_UnknownError` are never constructed:
hook/src/hooks/debug_drawing.rs#L2164
error: variants `Failed_StartingPointNotFound`, `Failed_EndPointNotFound`, `Failed_PointsNotConnected`, `Failed_UsedTooManyNodes`, `Failed_NotReady`, and `Failed_UnknownError` are never constructed
--> hook/src/hooks/debug_drawing.rs:2164:9
|
2162 | enum EPathfinderResult {
| ----------------- variants in this enum
2163 | Success = 0x0,
2164 | Failed_StartingPointNotFound = 0x1,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2165 | Failed_EndPointNotFound = 0x2,
| ^^^^^^^^^^^^^^^^^^^^^^^
2166 | Failed_PointsNotConnected = 0x3,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2167 | Failed_UsedTooManyNodes = 0x4,
| ^^^^^^^^^^^^^^^^^^^^^^^
2168 | Failed_NotReady = 0x5,
| ^^^^^^^^^^^^^^^
2169 | Failed_UnknownError = 0x6,
| ^^^^^^^^^^^^^^^^^^^
|
= note: `EPathfinderResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
variants `Invalid`, `Medium`, and `Large` are never constructed:
hook/src/hooks/debug_drawing.rs#L2155
error: variants `Invalid`, `Medium`, and `Large` are never constructed
--> hook/src/hooks/debug_drawing.rs:2155:9
|
2154 | enum DeepPathFinderSize {
| ------------------ variants in this enum
2155 | Invalid = 0x0,
| ^^^^^^^
2156 | Small = 0x3,
2157 | Medium = 0x2,
| ^^^^^^
2158 | Large = 0x1,
| ^^^^^
|
= note: `DeepPathFinderSize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
variants `Fly` and `MAX` are never constructed:
hook/src/hooks/debug_drawing.rs#L2148
error: variants `Fly` and `MAX` are never constructed
--> hook/src/hooks/debug_drawing.rs:2148:9
|
2146 | enum DeepPathFinderType {
| ------------------ variants in this enum
2147 | Walk = 0x0,
2148 | Fly = 0x1,
| ^^^
2149 | MAX = 0x2,
| ^^^
|
= note: `DeepPathFinderType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
variants `NotRunning` and `Running` are never constructed:
hook/src/hooks/debug_drawing.rs#L2007
error: variants `NotRunning` and `Running` are never constructed
--> hook/src/hooks/debug_drawing.rs:2007:9
|
2006 | enum GarbState {
| --------- variants in this enum
2007 | NotRunning = 0x0,
| ^^^^^^^^^^
2008 | Running = 0x1,
| ^^^^^^^
|
= note: `GarbState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
method `to_world_pos` is never used:
hook/src/hooks/debug_drawing.rs#L1690
error: method `to_world_pos` is never used
--> hook/src/hooks/debug_drawing.rs:1690:12
|
1689 | impl FDeepNavSetFNode {
| --------------------- method in this implementation
1690 | fn to_world_pos(&self) -> FVector {
| ^^^^^^^^^^^^
|
function `nav_stuff` is never used:
hook/src/hooks/debug_drawing.rs#L1566
error: function `nav_stuff` is never used
--> hook/src/hooks/debug_drawing.rs:1566:15
|
1566 | unsafe fn nav_stuff(
| ^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
unused variable: `points`:
hook/src/hooks/debug_drawing.rs#L1568
error: unused variable: `points`
--> hook/src/hooks/debug_drawing.rs:1568:9
|
1568 | points: &mut Vec<FBatchedPoint>,
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points`
|
unused variable: `connections`:
hook/src/hooks/debug_drawing.rs#L1573
error: unused variable: `connections`
--> hook/src/hooks/debug_drawing.rs:1573:13
|
1573 | let connections = element_ptr!(nav => .connections);
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connections`
|
unused variable: `elm`:
hook/src/hooks/debug_drawing.rs#L1494
error: unused variable: `elm`
--> hook/src/hooks/debug_drawing.rs:1494:33
|
1494 | ... let elm = element_ptr!(buffer.inner.Pool.start => + (index as usize).*);
| ^^^ help: if this is intentional, prefix it with an underscore: `_elm`
|
unused variable: `elm`:
hook/src/hooks/debug_drawing.rs#L1488
error: unused variable: `elm`
--> hook/src/hooks/debug_drawing.rs:1488:33
|
1488 | ... let elm = element_ptr!(buffer.inner.Pool.start => + (index as usize).*);
| ^^^ help: if this is intentional, prefix it with an underscore: `_elm`
|
unused variable: `elm`:
hook/src/hooks/debug_drawing.rs#L1482
error: unused variable: `elm`
--> hook/src/hooks/debug_drawing.rs:1482:33
|
1482 | ... let elm = element_ptr!(buffer.inner.Pool.start => + (index as usize).*);
| ^^^ help: if this is intentional, prefix it with an underscore: `_elm`
|
unused variable: `elm`:
hook/src/hooks/debug_drawing.rs#L1432
error: unused variable: `elm`
--> hook/src/hooks/debug_drawing.rs:1432:33
|
1432 | ... let elm = element_ptr!(buffer.inner.Pool.start => + (index as usize).*);
| ^^^ help: if this is intentional, prefix it with an underscore: `_elm`
|
unused variable: `elm`:
hook/src/hooks/debug_drawing.rs#L1426
error: unused variable: `elm`
--> hook/src/hooks/debug_drawing.rs:1426:33
|
1426 | ... let elm = element_ptr!(buffer.inner.Pool.start => + (index as usize).*);
| ^^^ help: if this is intentional, prefix it with an underscore: `_elm`
|
unused variable: `blue`:
hook/src/hooks/debug_drawing.rs#L1393
error: unused variable: `blue`
--> hook/src/hooks/debug_drawing.rs:1393:25
|
1393 | let blue = FLinearColor::new(0., 0., 1., 0.5);
| ^^^^ help: if this is intentional, prefix it with an underscore: `_blue`
|
unused variable: `cell`:
hook/src/hooks/debug_drawing.rs#L1362
error: unused variable: `cell`
--> hook/src/hooks/debug_drawing.rs:1362:25
|
1362 | let cell = {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_cell`
|
unused variable: `c`:
hook/src/hooks/debug_drawing.rs#L1349
error: unused variable: `c`
--> hook/src/hooks/debug_drawing.rs:1349:25
|
1349 | let c = if rank == 0 {
| ^ help: if this is intentional, prefix it with an underscore: `_c`
|
variable `i` is assigned to, but never used:
hook/src/hooks/debug_drawing.rs#L1326
error: variable `i` is assigned to, but never used
--> hook/src/hooks/debug_drawing.rs:1326:17
|
1326 | let mut i: u8 = 0;
| ^
|
= note: consider using `_i` instead
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
variant `Failed_UnknownError` should have an upper camel case name:
hook/src/hooks/debug_drawing.rs#L2169
error: variant `Failed_UnknownError` should have an upper camel case name
--> hook/src/hooks/debug_drawing.rs:2169:9
|
2169 | Failed_UnknownError = 0x6,
| ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedUnknownError`
|
variant `Failed_NotReady` should have an upper camel case name:
hook/src/hooks/debug_drawing.rs#L2168
error: variant `Failed_NotReady` should have an upper camel case name
--> hook/src/hooks/debug_drawing.rs:2168:9
|
2168 | Failed_NotReady = 0x5,
| ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedNotReady`
|
variant `Failed_UsedTooManyNodes` should have an upper camel case name:
hook/src/hooks/debug_drawing.rs#L2167
error: variant `Failed_UsedTooManyNodes` should have an upper camel case name
--> hook/src/hooks/debug_drawing.rs:2167:9
|
2167 | Failed_UsedTooManyNodes = 0x4,
| ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedUsedTooManyNodes`
|
variant `Failed_PointsNotConnected` should have an upper camel case name:
hook/src/hooks/debug_drawing.rs#L2166
error: variant `Failed_PointsNotConnected` should have an upper camel case name
--> hook/src/hooks/debug_drawing.rs:2166:9
|
2166 | Failed_PointsNotConnected = 0x3,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedPointsNotConnected`
|
variant `Failed_EndPointNotFound` should have an upper camel case name:
hook/src/hooks/debug_drawing.rs#L2165
error: variant `Failed_EndPointNotFound` should have an upper camel case name
--> hook/src/hooks/debug_drawing.rs:2165:9
|
2165 | Failed_EndPointNotFound = 0x2,
| ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedEndPointNotFound`
|
variant `Failed_StartingPointNotFound` should have an upper camel case name:
hook/src/hooks/debug_drawing.rs#L2164
error: variant `Failed_StartingPointNotFound` should have an upper camel case name
--> hook/src/hooks/debug_drawing.rs:2164:9
|
2164 | Failed_StartingPointNotFound = 0x1,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedStartingPointNotFound`
|
= note: `-D non-camel-case-types` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(non_camel_case_types)]`
|
check
Clippy had exited with the 101 exit code
|
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|