Skip to content

format! can break await #68216

Description

@Licenser

when using a format!() in a call line that includes an await it imposes odd (and hard to track) errors.

here is an example: https://github.com/Licenser/await-format-bug

pulling format outside of the await line works without issues, either by pre-computing it or by temporarily assigning the future to a own variable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions