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 {
45
45
} )
46
46
} ;
47
47
let mut srv = create_srv ( true ) ?;
48
- tracing:: info!( "sending version check" ) ;
48
+ tracing:: info!( "sending proc-macro server version check" ) ;
49
49
match srv. version_check ( ) {
50
50
Ok ( v) if v > CURRENT_API_VERSION => Err ( io:: Error :: new (
51
51
io:: ErrorKind :: Other ,
@@ -55,14 +55,15 @@ impl ProcMacroProcessSrv {
55
55
) ,
56
56
) ) ,
57
57
Ok ( v) => {
58
- tracing:: info!( "got version {v}" ) ;
58
+ tracing:: info!( "Proc-macro server version: {v}" ) ;
59
59
srv = create_srv ( false ) ?;
60
60
srv. version = v;
61
- if srv. version > RUST_ANALYZER_SPAN_SUPPORT {
61
+ if srv. version >= RUST_ANALYZER_SPAN_SUPPORT {
62
62
if let Ok ( mode) = srv. enable_rust_analyzer_spans ( ) {
63
63
srv. mode = mode;
64
64
}
65
65
}
66
+ tracing:: info!( "Proc-macro server span mode: {:?}" , srv. mode) ;
66
67
Ok ( srv)
67
68
}
68
69
Err ( e) => {
You can’t perform that action at this time.
0 commit comments