Skip to content

E0244 needs to be updated to new format #35390

Closed
@sophiajt

Description

@sophiajt

From: src/test/compile-fail/E0244.rs

Error E0244 needs a span_label and an updated title, changing it from:

error[E0244]: wrong number of type arguments: expected 0, found 2
  --> src/test/compile-fail/E0244.rs:12:23
   |
12 | struct Bar<S, T> { x: Foo<S, T> } //~ ERROR E0244
   |                       ^^^^^^^^^

To:

error[E0244]: wrong number of type arguments
  --> src/test/compile-fail/E0244.rs:12:23
   |
12 | struct Bar<S, T> { x: Foo<S, T> } //~ ERROR E0244
   |                       ^^^^^^^^^ expected no type arguments, found 2

Seems related to: #35389

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions