Skip to content

Documentation hint discrepency between autocomplete and inner function #21662

@winterqt

Description

@winterqt

rust-analyzer version: 2026-02-09

rustc version: 1.93.1

editor or extension: Helix

relevant settings: n/a

repository link (if public, optional):

  1. cargo init
  2. cargo add axum-extra --features json-lines

code snippet to reproduce:

use axum_extra::extract::JsonLines;

fn main() {
    JsonLines::ne| //< cursor
}

When autocompleting the function, documentation turns up fine:

Image

However, when I go within the function, no documentation shows up:

Image

This works fine for other functions:

Image

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