Skip to content

"convert the identifier to uppercase" only renames binding #8645

Open
@stanciuadrian

Description

@stanciuadrian

Input:

fn main() {
    const a: u32 = 256; 
    println!("{}", a);
}

2 fixes are suggested:

image

The first one renames the binding and misses the reference.

The second one works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsdiagnostics / error reportingE-has-instructionsIssue has some instructions and pointers to code to get startedE-mediumS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions