File tree 3 files changed +0
-15
lines changed
3 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -365,12 +365,6 @@ impl Session {
365
365
pub fn span_note_without_error < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) {
366
366
self . diagnostic ( ) . span_note_without_error ( sp, msg)
367
367
}
368
- pub fn span_unimpl < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) -> ! {
369
- self . diagnostic ( ) . span_unimpl ( sp, msg)
370
- }
371
- pub fn unimpl ( & self , msg : & str ) -> ! {
372
- self . diagnostic ( ) . unimpl ( msg)
373
- }
374
368
375
369
pub fn buffer_lint < S : Into < MultiSpan > > (
376
370
& self ,
Original file line number Diff line number Diff line change @@ -612,9 +612,6 @@ impl Handler {
612
612
db. set_span ( sp) ;
613
613
db
614
614
}
615
- pub fn span_unimpl < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) -> ! {
616
- self . span_bug ( sp, & format ! ( "unimplemented {}" , msg) ) ;
617
- }
618
615
pub fn failure ( & self , msg : & str ) {
619
616
DiagnosticBuilder :: new ( self , FailureNote , msg) . emit ( )
620
617
}
@@ -648,9 +645,6 @@ impl Handler {
648
645
db. emit ( ) ;
649
646
panic ! ( ExplicitBug ) ;
650
647
}
651
- pub fn unimpl ( & self , msg : & str ) -> ! {
652
- self . bug ( & format ! ( "unimplemented {}" , msg) ) ;
653
- }
654
648
655
649
fn bump_err_count ( & self ) {
656
650
self . err_count . fetch_add ( 1 , SeqCst ) ;
Original file line number Diff line number Diff line change @@ -1048,9 +1048,6 @@ impl<'a> ExtCtxt<'a> {
1048
1048
pub fn span_warn < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) {
1049
1049
self . parse_sess . span_diagnostic . span_warn ( sp, msg) ;
1050
1050
}
1051
- pub fn span_unimpl < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) -> ! {
1052
- self . parse_sess . span_diagnostic . span_unimpl ( sp, msg) ;
1053
- }
1054
1051
pub fn span_bug < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) -> ! {
1055
1052
self . parse_sess . span_diagnostic . span_bug ( sp, msg) ;
1056
1053
}
You can’t perform that action at this time.
0 commit comments