File tree Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -365,12 +365,6 @@ impl Session {
365365 pub fn span_note_without_error < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) {
366366 self . diagnostic ( ) . span_note_without_error ( sp, msg)
367367 }
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- }
374368
375369 pub fn buffer_lint < S : Into < MultiSpan > > (
376370 & self ,
Original file line number Diff line number Diff line change @@ -612,9 +612,6 @@ impl Handler {
612612 db. set_span ( sp) ;
613613 db
614614 }
615- pub fn span_unimpl < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) -> ! {
616- self . span_bug ( sp, & format ! ( "unimplemented {}" , msg) ) ;
617- }
618615 pub fn failure ( & self , msg : & str ) {
619616 DiagnosticBuilder :: new ( self , FailureNote , msg) . emit ( )
620617 }
@@ -648,9 +645,6 @@ impl Handler {
648645 db. emit ( ) ;
649646 panic ! ( ExplicitBug ) ;
650647 }
651- pub fn unimpl ( & self , msg : & str ) -> ! {
652- self . bug ( & format ! ( "unimplemented {}" , msg) ) ;
653- }
654648
655649 fn bump_err_count ( & self ) {
656650 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> {
10481048 pub fn span_warn < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) {
10491049 self . parse_sess . span_diagnostic . span_warn ( sp, msg) ;
10501050 }
1051- pub fn span_unimpl < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) -> ! {
1052- self . parse_sess . span_diagnostic . span_unimpl ( sp, msg) ;
1053- }
10541051 pub fn span_bug < S : Into < MultiSpan > > ( & self , sp : S , msg : & str ) -> ! {
10551052 self . parse_sess . span_diagnostic . span_bug ( sp, msg) ;
10561053 }
You can’t perform that action at this time.
0 commit comments