mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
c32a2cd0a2
resolve: Set correct parent and expansion for `self` declarations Follow up to https://github.com/rust-lang/rust/pull/146972 and https://github.com/rust-lang/rust/pull/154313. The `parent` seems to not be used yet, it will ICE if used (https://github.com/rust-lang/rust/pull/156185 uses it). The `expn_id` is only relevant to macros 2.0, I won't bother coming up with a test.