Skip to content

Add #[default] for newtype_index! - #164696

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
aerooneqq:default-for-newtype-index
Oct 21, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
aerooneqq:default-for-newtype-index

Conversation

@aerooneqq

@aerooneqq aerooneqq commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Add #[default] for newtype_index!.

We can merge it before or after #164425.

r? @petrochenkov

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 21, 2026
@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@rust-bors

rust-bors Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 91ad3f9 has been tentatively approved by petrochenkov

It will be put into the queue for this repository once PR CI succeeds.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 21, 2026
rust-bors Bot pushed a commit that referenced this pull request Oct 21, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - #164383 (handle higher-ranked preds in imperfect derives diagnostic)
 - #164620 (Wrap expected_ty for cfi-{diag,recover} in with_no_trimmed_paths)
 - #164684 (Remove redundant `PartialOrd` chaining methods)
 - #158076 (Offload safe mutable args with `Region` and `PartitioningStrategy`)
 - #164680 (Add regression test for async fn declared with #[eii])
 - #164696 (Add `#[default]` for `newtype_index!`)
@rust-bors
rust-bors Bot merged commit 0e758be into rust-lang:main Oct 21, 2026
14 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Oct 21, 2026
rust-bors Bot pushed a commit that referenced this pull request Oct 21, 2026
Rollup merge of #164696 - aerooneqq:default-for-newtype-index, r=petrochenkov

Add `#[default]` for `newtype_index!`

Add `#[default]` for `newtype_index!`.

We can merge it before or after #164425.

r? @petrochenkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants