Skip to content

suggest expect instead of unwrap when arg provided#155507

Open
Kivooeo wants to merge 1 commit intorust-lang:mainfrom
Kivooeo:no-expect
Open

suggest expect instead of unwrap when arg provided#155507
Kivooeo wants to merge 1 commit intorust-lang:mainfrom
Kivooeo:no-expect

Conversation

@Kivooeo
Copy link
Copy Markdown
Member

@Kivooeo Kivooeo commented Apr 19, 2026

r? mejrs (feel free to reroll)

fixes #155502

@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 Apr 19, 2026
@rustbot

This comment was marked as resolved.

@mejrs
Copy link
Copy Markdown
Contributor

mejrs commented Apr 19, 2026

@bors r+

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 19, 2026

📌 Commit e4c852d has been approved by mejrs

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 Apr 19, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Apr 20, 2026
suggest expect instead of unwrap when arg provided

r? mejrs (feel free to reroll)

fixes rust-lang#155502
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.

mention expect if we try to unwrap("string lit")

3 participants