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

Add missing rustc_promotable attribute to unsigned min_value and max_value #55828

Merged
merged 1 commit into from
Nov 11, 2018

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Nov 9, 2018

cc @pnkfelix

fixes #55806

@oli-obk oli-obk added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Nov 9, 2018
@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 9, 2018
@Mark-Simulacrum
Copy link
Member

This seems fine to me from a code standpoint but I'm going to r? @eddyb or someone else from the compiler team as I'm not sure what the general policy for rustc_promotable is. If the policy is fine with this then r=me

@oli-obk
Copy link
Contributor Author

oli-obk commented Nov 9, 2018

This fixes an oversight in #53851 where I only added the attribute to the signed integer types but not the unsigned ones (they are in a different macro)

@eddyb
Copy link
Member

eddyb commented Nov 9, 2018

@bors r+

@bors
Copy link
Contributor

bors commented Nov 9, 2018

📌 Commit f4c9dd5 has been approved by eddyb

@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 Nov 9, 2018
@estebank estebank added beta-accepted Accepted for backporting to the compiler in the beta channel. and removed beta-nominated Nominated for backporting to the compiler in the beta channel. labels Nov 9, 2018
@estebank
Copy link
Contributor

estebank commented Nov 9, 2018

Accepting for beta backport.

@pietroalbini pietroalbini added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Nov 10, 2018
@pietroalbini
Copy link
Member

FYI, beta-nominated should still be present until the actual backport is done. More information

pietroalbini added a commit to pietroalbini/rust that referenced this pull request Nov 10, 2018
…eddyb

Add missing `rustc_promotable` attribute to unsigned `min_value` and `max_value`

cc @pnkfelix

fixes rust-lang#55806
bors added a commit that referenced this pull request Nov 11, 2018
Rollup of 17 pull requests

Successful merges:

 - #55630 (resolve: Filter away macro prelude in modules with `#[no_implicit_prelude]` on 2018 edition)
 - #55687 (Take supertraits into account when calculating associated types)
 - #55745 (Convert `outlives_components`' return value to a `SmallVec` outparam.)
 - #55764 (Fix Rc/Arc allocation layout)
 - #55792 (Prevent ICE in const-prop array oob check)
 - #55799 (Removed unneeded instance of `// revisions` from a lint test)
 - #55800 (Fix ICE in `return_type_impl_trait`)
 - #55801 (NLL: Update box insensitivity test)
 - #55802 (Don't inline virtual calls (take 2))
 - #55816 (Use `SmallVec` to avoid allocations in `from_decimal_string`.)
 - #55819 (Typecheck patterns of all match arms first, so we get types for bindings)
 - #55822 (ICE with #![feature(nll)] and elided lifetimes)
 - #55828 (Add missing `rustc_promotable` attribute to unsigned `min_value` and `max_value`)
 - #55839 (Fix docstring spelling mistakes)
 - #55844 (Fix documentation typos.)
 - #55845 (Set BINARYEN_TRAP_MODE=clamp)
 - #55856 (rustdoc: refactor: move all static-file include!s into a single module)
@bors bors merged commit f4c9dd5 into rust-lang:master Nov 11, 2018
@pietroalbini pietroalbini removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Nov 12, 2018
@oli-obk oli-obk deleted the promotion_strikes_again branch June 15, 2020 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. 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.

apint fails to compile on beta
7 participants