@@ -201,10 +201,13 @@ pub trait Interner: Debug + Copy + Eq + Ord + Hash {
201
201
///
202
202
/// Returns `None` to fallback to the default debug output (e.g.,
203
203
/// if no info about current program is available from TLS).
204
+ #[ allow( unused_variables) ]
204
205
fn debug_opaque_ty_id (
205
206
opaque_ty_id : OpaqueTyId < Self > ,
206
207
fmt : & mut fmt:: Formatter < ' _ > ,
207
- ) -> Option < fmt:: Result > ;
208
+ ) -> Option < fmt:: Result > {
209
+ None
210
+ }
208
211
209
212
/// Prints the debug representation of an alias. To get good
210
213
/// results, this requires inspecting TLS, and is difficult to
@@ -225,10 +228,13 @@ pub trait Interner: Debug + Copy + Eq + Ord + Hash {
225
228
///
226
229
/// Returns `None` to fallback to the default debug output (e.g.,
227
230
/// if no info about current program is available from TLS).
231
+ #[ allow( unused_variables) ]
228
232
fn debug_projection_ty (
229
233
projection_ty : & ProjectionTy < Self > ,
230
234
fmt : & mut fmt:: Formatter < ' _ > ,
231
- ) -> Option < fmt:: Result > ;
235
+ ) -> Option < fmt:: Result > {
236
+ None
237
+ }
232
238
233
239
/// Prints the debug representation of an OpaqueTy. To get good
234
240
/// results, this requires inspecting TLS, and is difficult to
@@ -237,10 +243,13 @@ pub trait Interner: Debug + Copy + Eq + Ord + Hash {
237
243
///
238
244
/// Returns `None` to fallback to the default debug output (e.g.,
239
245
/// if no info about current program is available from TLS).
246
+ #[ allow( unused_variables) ]
240
247
fn debug_opaque_ty (
241
248
opaque_ty : & OpaqueTy < Self > ,
242
249
fmt : & mut fmt:: Formatter < ' _ > ,
243
- ) -> Option < fmt:: Result > ;
250
+ ) -> Option < fmt:: Result > {
251
+ None
252
+ }
244
253
245
254
/// Prints the debug representation of an type. To get good
246
255
/// results, this requires inspecting TLS, and is difficult to
0 commit comments