Closed
Description
Definition: https://doc.rust-lang.org/src/core/num/uint_macros.rs.html#1172
rust-analyzer version: installed version 2024-03-04
rustc version: (eg. output of rustc -V
) cargo 1.78.0-nightly (7065f0ef4 2024-03-12)
code snippet to reproduce:
1u8.wrapping_add(2);
require('lspconfig').rust_analyzer.setup({
on_attach = on_attach,
settings = {
["rust-analyzer"] = {
imports = {
granularity = {
group = "module",
},
prefix = "self",
},
cargo = {
buildScripts = {
enable = true,
},
extraArgs = { "--target-dir=target/analyzer" },
},
procMacro = {
enable = true
},
server = {
extraEnv = { CARGO_TARGET_DIR = "target/analyzer" },
},
check = {
command = "clippy"
}
}
}
})