Skip to content

Change .expect message to follow precondition style - #160796

Open
Nidhi-Gahlawat wants to merge 1 commit into
rust-lang:mainfrom
Nidhi-Gahlawat:issue-159751-fix-mod.rs
Open

Change .expect message to follow precondition style#160796
Nidhi-Gahlawat wants to merge 1 commit into
rust-lang:mainfrom
Nidhi-Gahlawat:issue-159751-fix-mod.rs

Conversation

@Nidhi-Gahlawat

@Nidhi-Gahlawat Nidhi-Gahlawat commented Aug 9, 2026

Copy link
Copy Markdown

Related to issue #159751

  • I did not use an LLM to create a change in this PR.
  • I used an LLM to create a change in this PR, and I have explained below how it was used.

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

rustbot commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust Project is excited to review your changes, and you should hear from @nia-e (or someone else) some time within the next two weeks.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue
Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: libs
  • libs expanded to 12 candidates
  • Random selection from JohnTitor, Mark-Simulacrum, clarfonthey, nia-e

@nia-e

nia-e commented Aug 9, 2026

Copy link
Copy Markdown
Member

thanks for contributing ^^

@bors r+ rollup

@rust-bors

rust-bors Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

📌 Commit b81a0d6 has been approved by nia-e

It is now in the queue for this repository.

@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 Aug 9, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 9, 2026
…d.rs, r=nia-e

Change .expect message to follow precondition style
rust-bors Bot pushed a commit that referenced this pull request Aug 9, 2026
…uwer

Rollup of 9 pull requests

Successful merges:

 - #160782 (rustc_attr_ir: fix up `lang_items` imports)
 - #159746 (stabilize `c_variadic_naked_functions`)
 - #160141 (Refactor tidy detection of stability attribute)
 - #160744 (make more diagnostic structs pub(crate))
 - #160778 (Add regression test for cycle error on guaranteed unsized self type)
 - #160779 (arm64ec: `f128` is supported since LLVM 23)
 - #160781 (Add regression test for save temps ICE on incremental recompile)
 - #160792 (User facing .expect now follows “expect as precondition" style)
 - #160796 (Change .expect message to follow precondition style)
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-libs Relevant to the library 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