New lints: Breaking changes related to union
types
#633
Labels
A-lint
Area: new or existing lint
C-enhancement
Category: raise the bar on expectations
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-mentor
Call for participation: Mentorship is available for this issue.
Now that we've added
union
types to the schema we use for writing lints, we have a lot ofunion
-related lints to implement!Major lints:
ImplOwner
type in our query schema) by the same name isn't flagged -- it's sometimes possible to change up types like this without a major breaking changestruct_missing
lint's implementation, which has to do the same thing for the same reasonrepr(C)
: Replace per-typerepr(C)
lints with a single lint for all of struct/enum/union #678doc(hidden)
and is no longer public API (related to New lints: item that was previously public API is now#[doc(hidden)]
i.e. no longer public API #578): rule: addunion_now_doc_hidden
#679doc(hidden)
and is no longer public API (also related to New lints: item that was previously public API is now#[doc(hidden)]
i.e. no longer public API #578): Add union pub field now doc hidden lint #844Minor lints:
#[must_use]
added: Adds union_must_use_added lint #845#[must_use]
lints:The text was updated successfully, but these errors were encountered: