-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Open
Labels
A-lang-itemArea: Language itemsArea: Language itemsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
#72170 and #72216 put some effort in to try and prevent some potential ICEs that can occur in #![no_core]
due to how we currently reference lang items.
@oli-obk pointed out:
Oh, that's a very good idea. I wonder if we can make
lang_items
private at some point and just have sensible wrappers likerequire_lang_item
.
I'm opening this issue to start a discussion about how we could take this forward.
Metadata
Metadata
Assignees
Labels
A-lang-itemArea: Language itemsArea: Language itemsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.