Skip to content

Translate Rust keywords into raw identifiers #279

Open
@thedataking

Description

@thedataking

We can be better at picking variable names when the C code uses an identifier that shadows a Rust keyword. The example buffer library uses self as an identifier which is named self_0 in the output. We should emit r#self instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions