]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_trait_selection/src/traits/query/type_op/mod.rs
Better errors for implied static bound
[rust.git] / compiler / rustc_trait_selection / src / traits / query / type_op / mod.rs
index 578e1d00cf9ef406ec4520f20555aa8f7a0c7297..8a79165702ca3f6f52252063db779268241c0a9b 100644 (file)
@@ -26,7 +26,7 @@
 /// extract out the resulting region constraints (or an error if it
 /// cannot be completed).
 pub trait TypeOp<'tcx>: Sized + fmt::Debug {
-    type Output;
+    type Output: fmt::Debug;
     type ErrorInfo;
 
     /// Processes the operation and all resulting obligations,