@@ -124,7 +124,7 @@ pub mod blocking {
124124 /// Blocking read
125125 pub trait Read < A : AddressMode = SevenBitAddress > {
126126 /// Error type
127- type Error ;
127+ type Error : core :: fmt :: Debug ;
128128
129129 /// Reads enough bytes from slave with `address` to fill `buffer`
130130 ///
@@ -150,7 +150,7 @@ pub mod blocking {
150150 /// Blocking write
151151 pub trait Write < A : AddressMode = SevenBitAddress > {
152152 /// Error type
153- type Error ;
153+ type Error : core :: fmt :: Debug ;
154154
155155 /// Writes bytes to slave with address `address`
156156 ///
@@ -174,7 +174,7 @@ pub mod blocking {
174174 /// Blocking write (iterator version)
175175 pub trait WriteIter < A : AddressMode = SevenBitAddress > {
176176 /// Error type
177- type Error ;
177+ type Error : core :: fmt :: Debug ;
178178
179179 /// Writes bytes to slave with address `address`
180180 ///
@@ -189,7 +189,7 @@ pub mod blocking {
189189 /// Blocking write + read
190190 pub trait WriteRead < A : AddressMode = SevenBitAddress > {
191191 /// Error type
192- type Error ;
192+ type Error : core :: fmt :: Debug ;
193193
194194 /// Writes bytes to slave with address `address` and then reads enough bytes to fill `buffer` *in a
195195 /// single transaction*
@@ -224,7 +224,7 @@ pub mod blocking {
224224 /// Blocking write (iterator version) + read
225225 pub trait WriteIterRead < A : AddressMode = SevenBitAddress > {
226226 /// Error type
227- type Error ;
227+ type Error : core :: fmt :: Debug ;
228228
229229 /// Writes bytes to slave with address `address` and then reads enough bytes to fill `buffer` *in a
230230 /// single transaction*
@@ -258,7 +258,7 @@ pub mod blocking {
258258 /// This allows combining operations within an I2C transaction.
259259 pub trait Transactional < A : AddressMode = SevenBitAddress > {
260260 /// Error type
261- type Error ;
261+ type Error : core :: fmt :: Debug ;
262262
263263 /// Execute the provided operations on the I2C bus.
264264 ///
@@ -285,7 +285,7 @@ pub mod blocking {
285285 /// This allows combining operation within an I2C transaction.
286286 pub trait TransactionalIter < A : AddressMode = SevenBitAddress > {
287287 /// Error type
288- type Error ;
288+ type Error : core :: fmt :: Debug ;
289289
290290 /// Execute the provided operations on the I2C bus (iterator version).
291291 ///
0 commit comments