@@ -566,19 +566,19 @@ impl server::Server for Rustc<'_, '_> {
566566 diag. emit ( ) ;
567567 }
568568
569- fn tt_drop ( & mut self , stream : Self :: TokenStream ) {
569+ fn ts_drop ( & mut self , stream : Self :: TokenStream ) {
570570 drop ( stream) ;
571571 }
572572
573- fn tt_clone ( & mut self , stream : & Self :: TokenStream ) -> Self :: TokenStream {
573+ fn ts_clone ( & mut self , stream : & Self :: TokenStream ) -> Self :: TokenStream {
574574 stream. clone ( )
575575 }
576576
577- fn tt_is_empty ( & mut self , stream : & Self :: TokenStream ) -> bool {
577+ fn ts_is_empty ( & mut self , stream : & Self :: TokenStream ) -> bool {
578578 stream. is_empty ( )
579579 }
580580
581- fn tt_from_str ( & mut self , src : & str ) -> Self :: TokenStream {
581+ fn ts_from_str ( & mut self , src : & str ) -> Self :: TokenStream {
582582 unwrap_or_emit_fatal ( source_str_to_stream (
583583 self . psess ( ) ,
584584 FileName :: proc_macro_source_code ( src) ,
@@ -587,11 +587,11 @@ impl server::Server for Rustc<'_, '_> {
587587 ) )
588588 }
589589
590- fn tt_to_string ( & mut self , stream : & Self :: TokenStream ) -> String {
590+ fn ts_to_string ( & mut self , stream : & Self :: TokenStream ) -> String {
591591 pprust:: tts_to_string ( stream)
592592 }
593593
594- fn tt_expand_expr ( & mut self , stream : & Self :: TokenStream ) -> Result < Self :: TokenStream , ( ) > {
594+ fn ts_expand_expr ( & mut self , stream : & Self :: TokenStream ) -> Result < Self :: TokenStream , ( ) > {
595595 // Parse the expression from our tokenstream.
596596 let expr: PResult < ' _ , _ > = try {
597597 let mut p = Parser :: new ( self . psess ( ) , stream. clone ( ) , Some ( "proc_macro expand expr" ) ) ;
@@ -652,14 +652,14 @@ impl server::Server for Rustc<'_, '_> {
652652 }
653653 }
654654
655- fn tt_from_token_tree (
655+ fn ts_from_token_tree (
656656 & mut self ,
657657 tree : TokenTree < Self :: TokenStream , Self :: Span , Self :: Symbol > ,
658658 ) -> Self :: TokenStream {
659659 Self :: TokenStream :: new ( ( tree, & mut * self ) . to_internal ( ) . into_iter ( ) . collect :: < Vec < _ > > ( ) )
660660 }
661661
662- fn tt_concat_trees (
662+ fn ts_concat_trees (
663663 & mut self ,
664664 base : Option < Self :: TokenStream > ,
665665 trees : Vec < TokenTree < Self :: TokenStream , Self :: Span , Self :: Symbol > > ,
@@ -673,7 +673,7 @@ impl server::Server for Rustc<'_, '_> {
673673 stream
674674 }
675675
676- fn tt_concat_streams (
676+ fn ts_concat_streams (
677677 & mut self ,
678678 base : Option < Self :: TokenStream > ,
679679 streams : Vec < Self :: TokenStream > ,
@@ -685,7 +685,7 @@ impl server::Server for Rustc<'_, '_> {
685685 stream
686686 }
687687
688- fn tt_into_trees (
688+ fn ts_into_trees (
689689 & mut self ,
690690 stream : Self :: TokenStream ,
691691 ) -> Vec < TokenTree < Self :: TokenStream , Self :: Span , Self :: Symbol > > {
0 commit comments