reflect: don't need error trait bound

This commit is contained in:
chyyran 2023-01-21 15:47:52 -05:00
parent 5d4eafe3bf
commit 9397233a0c

View file

@ -8,7 +8,6 @@ use crate::reflect::semantics::{
use librashader_preprocess::{PreprocessError, ShaderSource};
use librashader_presets::{ShaderPassConfig, TextureConfig};
use rustc_hash::FxHashMap;
use std::error::Error;
/// Artifacts of a reflected and compiled shader pass.
///
@ -50,7 +49,6 @@ pub trait CompilePresetTarget: OutputTarget {
Self: Sized,
Self: FromCompilation<C>,
C: ShaderCompilation,
E: Error,
E: From<PreprocessError>,
E: From<ShaderReflectError>,
E: From<ShaderCompileError>,
@ -75,7 +73,6 @@ where
T: OutputTarget,
T: FromCompilation<C>,
C: ShaderCompilation,
E: Error,
E: From<PreprocessError>,
E: From<ShaderReflectError>,
E: From<ShaderCompileError>,