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
This compiles fine on the latest version of rustc, but I'm getting a syntax error in rust-analyzer on this line:
..const{ i64::MINasi128} => None,
The span of the error appears to be the arrow. I'm not sure if there's a succinct command I can run to get the exact error output, but here's what it looks like via kak-lsp:
(note: the features are applied to the crate, this is just running inside a file in that crate)
The text was updated successfully, but these errors were encountered:
I've stumbled upon a similar case where inline const patterns are inside of tuple patterns. It seems like r-a can only parse const patterns at the “top-level” of a pattern.
rust-analyzer version:
rust-analyzer 1 (643bc02de 2023-01-01)
rustc version:
rustc 1.68.0-nightly (0b90256ad 2023-01-13)
relevant settings: installed via rustup
Take this snippet: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=a2f288d06c1dfcaf8e916a6eca9594cd
This compiles fine on the latest version of rustc, but I'm getting a syntax error in
rust-analyzer
on this line:The span of the error appears to be the arrow. I'm not sure if there's a succinct command I can run to get the exact error output, but here's what it looks like via
kak-lsp
:(note: the features are applied to the crate, this is just running inside a file in that crate)
The text was updated successfully, but these errors were encountered: