-
Notifications
You must be signed in to change notification settings - Fork 969
Closed
Labels
A-commentsArea: commentsArea: commentsC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE
Description
fn a(_ /*comment*/: u8) {}
fn b(/*comment*/ _: u8) {}
fn main() {}Expected output (no changes):
fn a(_ /*comment*/: u8) {}
fn b(/*comment*/ _: u8) {}
fn main() {}Real output (on of the comments is removed):
fn a(_: u8) {}
fn b(/*comment*/ _: u8) {}
fn main() {}Replacing _ with normal identifier doesn't help.
I guess it's related to #1096.
Metadata
Metadata
Assignees
Labels
A-commentsArea: commentsArea: commentsC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE