Skip to content

When hover docs, don't show the examples section for integers #17266

Closed as not planned
@ameknite

Description

@ameknite

rust-analyzer version: 0.4.1960-standalone (c0732c9 2024-05-14)

rustc version: rustc 1.78.0 (9b00956e5 2024-04-29)

editor or extension: VSCode

Version: 1.89.1
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:14:32.757Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)

repository link (if public, optional): (eg. rust-analyzer)

code snippet to reproduce:

// add your code here
fn main() {
    let _ = 1i32.abs();
}

Examples:
Screenshot 2024-05-20 at 13 36 45
Screenshot 2024-05-20 at 13 40 39

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