File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
crates/proc-macro-api/src Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ impl ProcMacroProcessSrv {
4545 } )
4646 } ;
4747 let mut srv = create_srv ( true ) ?;
48- tracing:: info!( "sending version check" ) ;
48+ tracing:: info!( "sending proc-macro server version check" ) ;
4949 match srv. version_check ( ) {
5050 Ok ( v) if v > CURRENT_API_VERSION => Err ( io:: Error :: new (
5151 io:: ErrorKind :: Other ,
@@ -55,14 +55,15 @@ impl ProcMacroProcessSrv {
5555 ) ,
5656 ) ) ,
5757 Ok ( v) => {
58- tracing:: info!( "got version {v}" ) ;
58+ tracing:: info!( "Proc-macro server version: {v}" ) ;
5959 srv = create_srv ( false ) ?;
6060 srv. version = v;
61- if srv. version > RUST_ANALYZER_SPAN_SUPPORT {
61+ if srv. version >= RUST_ANALYZER_SPAN_SUPPORT {
6262 if let Ok ( mode) = srv. enable_rust_analyzer_spans ( ) {
6363 srv. mode = mode;
6464 }
6565 }
66+ tracing:: info!( "Proc-macro server span mode: {:?}" , srv. mode) ;
6667 Ok ( srv)
6768 }
6869 Err ( e) => {
You can’t perform that action at this time.
0 commit comments