@@ -47,15 +47,15 @@ impl Logger {
4747 }
4848 }
4949
50- pub ( crate ) fn basic ( & self ) -> Formatted < FormatBasic > {
50+ pub ( crate ) fn basic ( & self ) -> Formatted < ' _ , FormatBasic > {
5151 Formatted { format : FormatBasic , logger : self }
5252 }
5353
5454 pub ( crate ) fn diagnostic < ' a > (
5555 & self ,
5656 severity : Severity ,
5757 kind : & ' a str ,
58- ) -> Formatted < FormatDetailed < ' a , 4 > > {
58+ ) -> Formatted < ' _ , FormatDetailed < ' a , 4 > > {
5959 let label = match severity {
6060 Severity :: Error => Segment { style : Some ( Style :: R ) , text : "error" , ticks : false } ,
6161 Severity :: Warning => Segment { style : Some ( Style :: Y ) , text : "warning" , ticks : false } ,
@@ -69,7 +69,7 @@ impl Logger {
6969 severity : Severity ,
7070 code : & ' a str ,
7171 kind : & ' a str ,
72- ) -> Formatted < FormatDetailed < ' a , 5 > > {
72+ ) -> Formatted < ' _ , FormatDetailed < ' a , 5 > > {
7373 let label = match severity {
7474 Severity :: Error => Segment { style : Some ( Style :: R ) , text : "error " , ticks : false } ,
7575 Severity :: Warning => Segment { style : Some ( Style :: Y ) , text : "warning " , ticks : false } ,
@@ -84,15 +84,15 @@ impl Logger {
8484 Formatted { format : FormatDetailed { start } , logger : self }
8585 }
8686
87- pub ( crate ) fn error ( & self ) -> Formatted < FormatError > {
87+ pub ( crate ) fn error ( & self ) -> Formatted < ' _ , FormatError > {
8888 Formatted { format : FormatError , logger : self }
8989 }
9090
91- pub ( crate ) fn warn ( & self ) -> Formatted < FormatWarning > {
91+ pub ( crate ) fn warn ( & self ) -> Formatted < ' _ , FormatWarning > {
9292 Formatted { format : FormatWarning , logger : self }
9393 }
9494
95- pub ( crate ) fn note ( & self ) -> Formatted < FormatNote > {
95+ pub ( crate ) fn note ( & self ) -> Formatted < ' _ , FormatNote > {
9696 Formatted { format : FormatNote , logger : self }
9797 }
9898}
0 commit comments