Skip to content

E0035 needs to be updated to new format #35206

Closed
@sophiajt

Description

@sophiajt

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

Edit (9/24/2016): updated wording

Error E0035 needs a span_label and an updated title, updating it from:

error[E0035]: does not take type parameters
  --> src/test/compile-fail/E0035.rs:19:7
   |
19 |     x.method::<i32>(); //~ ERROR E0035
   |       ^^^^^^

To:

error[E0035]: function called with unnecessary type parameters
  --> src/test/compile-fail/E0035.rs:19:7
   |
19 |     x.method::<i32>(); //~ ERROR E0035
   |       ^^^^^^ does not take type parameters

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