mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 03:27:17 +00:00
Arbitrary self types v2: adjust diagnostic. The recently landed PR #132961 to adjust arbitrary self types was a bit overenthusiastic, advising folks to use the new Receiver trait even before it's been stabilized. Revert to the older wording of the lint in such cases. Tracking issue #44874 r? ``@wesleywiser``
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.