Skip to content

Comment dropped between & and typename in parameter type #4245

Closed
@ayazhafiz

Description

@ayazhafiz
pub fn a(_: &/*'static*/()) {}

becomes

pub fn a(_: &()) {}

any reason why this (kind of critical) bug hasn't been fixed yet? It's almost open for a year now.

Originally posted by @hellow554 in #2781 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-commentsbugPanic, non-idempotency, invalid code, etc.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions