Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactoring/bugfixing around definitions for struct/variant constructors #36814
d917c36 separates definitions for struct/variant constructors living in value namespace from struct/variant type definitions.
adfb378 fixes cross-crate resolution of reexports reexporting half-items, like struct constructors without struct type or types without constructor. Such reexports can appear due to glob shadowing.
c695d0c (and partially aabf132) moves most of pattern resolution checks from typeck to resolve (except those checking for associated items), uses the same wording for pattern resolution error messages from both typeck and resolve and makes the messages more precise.
11e3524 fixes seemingly incorrectly set
aabf132 is mostly a cleanup of various impossible or improperly used definitions, and other small definition cleanups.