docs: 📝 Apple Vision Pro support in progress #108
clippy
39 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 39 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0 (82e1608df 2023-12-21)
- cargo 1.75.0 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (82e1608 2023-12-21)
Annotations
Check warning on line 178 in alvr/dashboard/src/dashboard/components/setup_wizard.rs
github-actions / clippy
unnecessary use of `to_string`
warning: unnecessary use of `to_string`
--> alvr/dashboard/src/dashboard/components/setup_wizard.rs:178:45
|
178 | ... &audio_script_path.to_string_lossy().to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `audio_script_path.to_string_lossy().as_ref()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
Check warning on line 174 in alvr/dashboard/src/dashboard/components/setup_wizard.rs
github-actions / clippy
unnecessary use of `to_string`
warning: unnecessary use of `to_string`
--> alvr/dashboard/src/dashboard/components/setup_wizard.rs:174:45
|
174 | ... &audio_script_path.to_string_lossy().to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `audio_script_path.to_string_lossy().as_ref()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
= note: `#[warn(clippy::unnecessary_to_owned)]` on by default
github-actions / clippy
unused import: `self::VkLoaderFeastureFlagBits as VkLoaderFlagBits`
warning: unused import: `self::VkLoaderFeastureFlagBits as VkLoaderFlagBits`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:71964:9
|
71964 | pub use self::VkLoaderFeastureFlagBits as VkLoaderFlagBits;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT`
warning: unused import: `self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:64273:9
|
64273 | pub use self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT`
warning: unused import: `self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:59508:9
|
59508 | pub use self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT`
warning: unused import: `self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:56634:9
|
56634 | pub use self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT`
warning: unused import: `self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:55649:9
|
55649 | pub use self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV`
warning: unused import: `self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:53622:9
|
53622 | pub use self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV`
warning: unused import: `self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:53605:9
|
53605 | pub use self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV`
warning: unused import: `self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:53584:9
|
53584 | pub use self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV`
warning: unused import: `self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:53567:9
|
53567 | pub use self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkGeometryTypeKHR as VkGeometryTypeNV`
warning: unused import: `self::VkGeometryTypeKHR as VkGeometryTypeNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:53537:9
|
53537 | pub use self::VkGeometryTypeKHR as VkGeometryTypeNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV`
warning: unused import: `self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:53529:9
|
53529 | pub use self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT`
warning: unused import: `self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:52892:9
|
52892 | pub use self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkSamplerReductionMode as VkSamplerReductionModeEXT`
warning: unused import: `self::VkSamplerReductionMode as VkSamplerReductionModeEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:50733:9
|
50733 | pub use self::VkSamplerReductionMode as VkSamplerReductionModeEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkSubmitFlagBits as VkSubmitFlagBitsKHR`
warning: unused import: `self::VkSubmitFlagBits as VkSubmitFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:44495:9
|
44495 | pub use self::VkSubmitFlagBits as VkSubmitFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR`
warning: unused import: `self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:42667:9
|
42667 | pub use self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkSemaphoreType as VkSemaphoreTypeKHR`
warning: unused import: `self::VkSemaphoreType as VkSemaphoreTypeKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:42666:9
|
42666 | pub use self::VkSemaphoreType as VkSemaphoreTypeKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR`
warning: unused import: `self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:42661:9
|
42661 | pub use self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR`
warning: unused import: `self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:42659:9
|
42659 | pub use self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkDriverId as VkDriverIdKHR`
warning: unused import: `self::VkDriverId as VkDriverIdKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:42656:9
|
42656 | pub use self::VkDriverId as VkDriverIdKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR`
warning: unused import: `self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:42212:9
|
42212 | pub use self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR`
warning: unused import: `self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:42211:9
|
42211 | pub use self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkChromaLocation as VkChromaLocationKHR`
warning: unused import: `self::VkChromaLocation as VkChromaLocationKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:42210:9
|
42210 | pub use self::VkChromaLocation as VkChromaLocationKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github-actions / clippy
unused import: `self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR`
warning: unused import: `self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-64b7928cfbdeda47/out/layer_bindings.rs:41553:9
|
41553 | pub use self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^