Make inner errors pub

This commit is contained in:
Mikko Lehtonen committed 2020-11-19 23:37:36 +02:00
1 parent 19b4ec58ae
commit a41f7ea78f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -119,7 +119,7 @@ pub enum DispatchError {
/// Error encountered when performing a compute pass.
#[derive(Clone, Debug, Error)]
pub(super) enum ComputePassErrorInner {
pub enum ComputePassErrorInner {
#[error(transparent)]
Encoder(#[from] CommandEncoderError),
#[error("bind group {0:?} is invalid")]
+1 -1
View File
@@ -318,7 +318,7 @@ impl State {
/// Error encountered when performing a render pass.
#[derive(Clone, Debug, Error)]
pub(super) enum RenderPassErrorInner {
pub enum RenderPassErrorInner {
#[error(transparent)]
Encoder(#[from] CommandEncoderError),
#[error("attachment texture view {0:?} is invalid")]