File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/librustc/mir/interpret Expand file tree Collapse file tree 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> {
190190}
191191
192192
193- impl < ' tcx > fmt:: Display for InterpErrorInfo < ' tcx > {
193+ impl fmt:: Display for InterpErrorInfo < ' _ > {
194194 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
195195 write ! ( f, "{}" , self . kind)
196196 }
197197}
198198
199- impl < ' tcx > InterpErrorInfo < ' tcx > {
199+ impl InterpErrorInfo < ' _ > {
200200 pub fn print_backtrace ( & mut self ) {
201201 if let Some ( ref mut backtrace) = self . backtrace {
202202 print_backtrace ( & mut * backtrace) ;
@@ -390,14 +390,14 @@ pub enum InterpError<'tcx> {
390390
391391pub type InterpResult < ' tcx , T = ( ) > = Result < T , InterpErrorInfo < ' tcx > > ;
392392
393- impl < ' tcx > fmt:: Display for InterpError < ' tcx > {
393+ impl fmt:: Display for InterpError < ' _ > {
394394 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
395395 // Forward `Display` to `Debug`
396396 write ! ( f, "{:?}" , self )
397397 }
398398}
399399
400- impl < ' tcx > fmt:: Debug for InterpError < ' tcx > {
400+ impl fmt:: Debug for InterpError < ' _ > {
401401 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
402402 use InterpError :: * ;
403403 match * self {
You can’t perform that action at this time.
0 commit comments