@@ -259,14 +259,14 @@ impl Display for WrappedCommand {
259259impl error:: Error for Error { }
260260
261261impl fmt:: Debug for Error {
262- fn fmt ( & self , f : & mut fmt:: Formatter ) -> Result < ( ) , fmt:: Error > {
262+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> Result < ( ) , fmt:: Error > {
263263 // Failed `unwrap()` prints Debug representation, but the default debug format lacks helpful instructions for the end users
264264 <Error as fmt:: Display >:: fmt ( self , f)
265265 }
266266}
267267
268268impl fmt:: Display for Error {
269- fn fmt ( & self , f : & mut fmt:: Formatter ) -> Result < ( ) , fmt:: Error > {
269+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> Result < ( ) , fmt:: Error > {
270270 match * self {
271271 Error :: EnvNoPkgConfig ( ref name) => write ! ( f, "Aborted because {} is set" , name) ,
272272 Error :: CrossCompilation => f. write_str (
@@ -407,7 +407,7 @@ impl fmt::Display for Error {
407407 }
408408}
409409
410- fn format_output ( output : & Output , f : & mut fmt:: Formatter ) -> fmt:: Result {
410+ fn format_output ( output : & Output , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
411411 let stdout = String :: from_utf8_lossy ( & output. stdout ) ;
412412 if !stdout. is_empty ( ) {
413413 write ! ( f, "\n --- stdout\n {}" , stdout) ?;
0 commit comments