Skip to content

Doc not properly rendered #16890

Closed
Closed
@oriongonza

Description

@oriongonza

image
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"
      }
    }
  }
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions