Skip to content

Change all compile_fail tests to use error number annotations #5752

Open
@sffc

Description

@sffc

Apparently (#5747) we can use notation such as

```compile_fail,E0271
// test that fails with code E0271
```

This isn't documented anywhere, but it is a feature for Rust developers according to @Manishearth. We should use it everywhere to make sure our compile_fail tests continue failing for the same reason.

CC @robertbastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-smallSize: One afternoon (small bug fix or enhancement)T-techdebtType: ICU4X code health and tech debtgood first issueGood for newcomersneeds-approvalOne or more stakeholders need to approve proposal

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions