File tree 1 file changed +4
-4
lines changed
src/librustc/mir/interpret
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -190,13 +190,13 @@ pub struct InterpErrorInfo<'tcx> {
190
190
}
191
191
192
192
193
- impl < ' tcx > fmt:: Display for InterpErrorInfo < ' tcx > {
193
+ impl fmt:: Display for InterpErrorInfo < ' _ > {
194
194
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
195
195
write ! ( f, "{}" , self . kind)
196
196
}
197
197
}
198
198
199
- impl < ' tcx > InterpErrorInfo < ' tcx > {
199
+ impl InterpErrorInfo < ' _ > {
200
200
pub fn print_backtrace ( & mut self ) {
201
201
if let Some ( ref mut backtrace) = self . backtrace {
202
202
print_backtrace ( & mut * backtrace) ;
@@ -390,14 +390,14 @@ pub enum InterpError<'tcx> {
390
390
391
391
pub type InterpResult < ' tcx , T = ( ) > = Result < T , InterpErrorInfo < ' tcx > > ;
392
392
393
- impl < ' tcx > fmt:: Display for InterpError < ' tcx > {
393
+ impl fmt:: Display for InterpError < ' _ > {
394
394
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
395
395
// Forward `Display` to `Debug`
396
396
write ! ( f, "{:?}" , self )
397
397
}
398
398
}
399
399
400
- impl < ' tcx > fmt:: Debug for InterpError < ' tcx > {
400
+ impl fmt:: Debug for InterpError < ' _ > {
401
401
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
402
402
use InterpError :: * ;
403
403
match * self {
You can’t perform that action at this time.
0 commit comments