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

Make AssertKind::fmt_assert_args public #84392

Merged
merged 1 commit into from
May 2, 2021
Merged

Make AssertKind::fmt_assert_args public #84392

merged 1 commit into from
May 2, 2021

Conversation

dario23
Copy link
Contributor

@dario23 dario23 commented Apr 21, 2021

No description provided.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @varkor (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 21, 2021
@dario23
Copy link
Contributor Author

dario23 commented Apr 21, 2021

Stumbled over this not being public in viperproject/prusti-dev#467, so i thought i'd go ahead and suggest it be made public.

Also open to "you should approach this completely differently"-type suggestions. I know there is a Debug impl for AssertKind, but we're looking for something like a Display impl that doesn't panic on BoundsCheck.

@varkor
Copy link
Member

varkor commented May 1, 2021

Sorry for the delay in getting to this. The change seems fine, but there are others who might have opinions on whether there's a better approach, so I'd like to double-check.
r? @RalfJung

@rust-highfive rust-highfive assigned RalfJung and unassigned varkor May 1, 2021
@RalfJung
Copy link
Member

RalfJung commented May 1, 2021

I'm not a regular in this piece of code, but this makes sense to me.
@bors r=varkor,RalfJung rollup

@bors
Copy link
Contributor

bors commented May 1, 2021

📌 Commit b9a1e69 has been approved by varkor,RalfJung

@bors bors 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 May 1, 2021
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 1, 2021
…or,RalfJung

Make AssertKind::fmt_assert_args public
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 1, 2021
…or,RalfJung

Make AssertKind::fmt_assert_args public
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 2, 2021
…or,RalfJung

Make AssertKind::fmt_assert_args public
bors added a commit to rust-lang-ci/rust that referenced this pull request May 2, 2021
Rollup of 5 pull requests

Successful merges:

 - rust-lang#84358 (Update closure capture error logging for disjoint captures for disjoint captures)
 - rust-lang#84392 (Make AssertKind::fmt_assert_args public)
 - rust-lang#84752 (Fix debuginfo for generators)
 - rust-lang#84763 (shrink doctree::Module)
 - rust-lang#84821 (Fix nit in rustc_session::options)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 4198d0a into rust-lang:master May 2, 2021
@rustbot rustbot added this to the 1.54.0 milestone May 2, 2021
dario23 added a commit to dario23/prusti-dev that referenced this pull request May 3, 2021
@dario23 dario23 deleted the fmt-assert-args-pub branch May 3, 2021 11:01
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants