Skip to content

Weird sentence in comments in src/test/ui/pattern/bindings-after-at/nested-type-ascription-syntactically-invalid.rs #88233

Description

@steffahn

// Here we check that type ascription is syntactically invalid when
// not in the top position of a ascribing a let binding or function parameter.

In the sentence above, I’m unable to figure out the grammatical role of the word “ascribing” and the two “a”s.

I’m not immediately sure how to best fix it without changing the meaning so something that isn’t meant.


Found while doing #88230

@rustbot label T-compiler

Activity

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

Metadata

Metadata

Assignees

Labels

T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions