Skip to content

Eats r#try! -> try! in macros #4138

@Mark-Simulacrum

Description

@Mark-Simulacrum

I've not had time to do a lot of debugging here, but when doing an update of rustfmt in Rust (see the linked PR) we encountered a bug that rustfmt will apparently replace r#try! with try!, which is not an acceptable change to make on 2018 edition code. I've not attempted a reproduction outside of that one instance -- if this doesn't easily reproduce I'm not too worried by it.

We've fixed this in rust-lang/rust I believe with a manual #[rustfmt::skip] annotation.

Originally posted by @jonas-schievink in https://github.com/_render_node/MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDQxMzM3MzI4OA==/comments/review_comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions