Stream: t-compiler/major changes

Topic: Make lang-items private compiler-team#301


triagebot (Jun 04 2020 at 15:29, on Zulip):

A new proposal has been announced #301. It will be brought up at the next meeting.

triagebot (Jun 04 2020 at 15:31, on Zulip):

@T-compiler: Proposal #301 has been seconded, and will be approved in 10 days if no objections are raised.

nikomatsakis (Jun 04 2020 at 15:31, on Zulip):

I like the idea of also making it more ergonomic to compare against a particular def_id

nikomatsakis (Jun 04 2020 at 15:34, on Zulip):

@Nathan Corbyn one thing I would add -- I think you should also document the various kinds of "lang items" in rustc-dev-guide :)

nikomatsakis (Jun 04 2020 at 15:34, on Zulip):

(I've seen now we have things like "documentation items" too..? I forget.)

nikomatsakis (Jun 04 2020 at 15:34, on Zulip):

but basically saying what a lang item is, how it's used, etc

Nathan Corbyn (Jun 04 2020 at 15:38, on Zulip):

Ah! I forgot to mention that - definitely agree

Nathan Corbyn (Jun 04 2020 at 15:38, on Zulip):

Should I tack that on the end of the MCP?

oli (Jun 04 2020 at 16:26, on Zulip):

we have diagnostic items

oli (Jun 04 2020 at 16:26, on Zulip):

used by rustc and clippy lints so we don't have to refer to things by path

nikomatsakis (Jun 04 2020 at 16:43, on Zulip):

yeah. it'd be good to document those. I'm not really clear on what the difference is =) presumably more just a difference of intent...

nikomatsakis (Jun 04 2020 at 16:43, on Zulip):

Nathan Corbyn said:

Should I tack that on the end of the MCP?

doesn't hurt but also not really necessary in my view :)

Last update: May 07 2021 at 07:30UTC