Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rustup #11903

Merged
merged 16 commits into from
Dec 1, 2023
Merged

Rustup #11903

merged 16 commits into from
Dec 1, 2023

Conversation

flip1995
Copy link
Member

@flip1995 flip1995 commented Dec 1, 2023

r? @ghost

changelog: none

flip1995 and others added 16 commits November 16, 2023 19:13
This was made possible by the removal of plugin support, which
simplified lint store creation.

This simplifies the places in rustc and rustdoc that call
`describe_lints`, which are early on. The lint store is now built before
those places, so they don't have to create their own lint store for
temporary use, they can just use the main one.
- `erase_late_bound_regions` -> `instantiate_bound_regions_with_erased`
- `replace_late_bound_regions_X` -> `instantiate_bound_regions_X`
Because the API for `with_position` improved in 0.11 and I want to use
it.
Co-authored-by: Adrian <[email protected]>
rustc: Make `def_kind` mandatory for all `DefId`s

Prerequisite for rust-lang/rust#118188.
- Rename them both `as_str`, which is the typical name for a function
  that returns a `&str`. (`to_string` is appropriate for functions
  returning `String` or maybe `Cow<'a, str>`.)
- Change `UnOp::as_str` from an associated function (weird!) to a
  method.
- Avoid needless `self` dereferences.
…r-errors

Add `never_patterns` feature gate

This PR adds the feature gate and most basic parsing for the experimental `never_patterns` feature. See the tracking issue (rust-lang/rust#118155) for details on the experiment.

`@scottmcm` has agreed to be my lang-team liaison for this experiment.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Dec 1, 2023
@flip1995
Copy link
Member Author

flip1995 commented Dec 1, 2023

@bors r+ p=10

@bors
Copy link
Contributor

bors commented Dec 1, 2023

📌 Commit 9d36c18 has been approved by flip1995

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Dec 1, 2023

⌛ Testing commit 9d36c18 with merge f0cdee4...

@bors
Copy link
Contributor

bors commented Dec 1, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing f0cdee4 to master...

@bors bors merged commit f0cdee4 into rust-lang:master Dec 1, 2023
5 checks passed
@flip1995 flip1995 deleted the rustup branch December 1, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.