mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
remove UnevaluatedConstKind::def_id this is some of the const side of https://github.com/rust-lang/rust/issues/152245 not quite a _full_ removal, there's still some spicy things such as `UnevaluatedConstKind::def_span` remaining that won't quite work for new non-DefID `UnevaluatedConstKind` cases, but IMO this is the bulk of the work, and feature-specific things can deal with their quirks in their own PRs when they know their own use cases. r? @BoxyUwU self-reminder: file an issue on what to do about rustc_public's handling of the raw DefIds in rustc_public AliasTy/AliasConst
For more information about how rustc works, see the rustc dev guide.