WGPU: Add missing derive_more::Error derivation for wgpu24::TextureImportError

cc #8631
This commit is contained in:
Simon Hausmann 2025-06-12 11:24:46 +02:00 committed by Simon Hausmann
parent 7af9eec820
commit 5d40fa167e

View file

@ -83,7 +83,7 @@ impl Default for WGPUConfiguration {
}
}
#[derive(Debug)]
#[derive(Debug, derive_more::Error)]
#[non_exhaustive]
/// This enum describes the possible errors that can occur when importing a WGPU texture,
/// via [`Image::try_from()`](super::Image::try_from()).