You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
relevant settings: (eg. client settings, or environment variables like CARGO, RUSTUP_HOME or CARGO_HOME)
tracing 0.1.35
tracing-attributes 0.1.22
proc-macro2 1.0.40
This may be related to this issue, but I'm not sure: #12674
Using the proc-macro tracing::instrument will cause rust-analyzer to panic.
This results in textDocument/hover and textDocument/inlayHint to return []. However, textDocument/publishDiagnostics still works.
Minimal reproduction: Cargo.toml
[package]
name = "rabug"version = "0.1.0"edition = "2021"
[dependencies.tracing]
version = "0.1.35"features = ["attributes"]
rust-analyzer version: (eg. output of "Rust Analyzer: Show RA Version" command)
rust-analyzer version: 0.0.0 (5342f47 2022-07-09)
rustc version: (eg. output of
rustc -V
)rustc 1.64.0-nightly (6dba4ed21 2022-07-09)
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTUP_HOME
orCARGO_HOME
)tracing 0.1.35
tracing-attributes 0.1.22
proc-macro2 1.0.40
This may be related to this issue, but I'm not sure: #12674
Using the proc-macro
tracing::instrument
will cause rust-analyzer to panic.This results in
textDocument/hover
andtextDocument/inlayHint
to return []. However,textDocument/publishDiagnostics
still works.Minimal reproduction:
Cargo.toml
main.rs
This causes the following panic:
The text was updated successfully, but these errors were encountered: