Uh oh!
There was an error while loading. Please reload this page.
Enforce stability of const fn in promoteds - #50909
Conversation
rust-highfive
commented
May 20, 2018
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
c409546 to
0a94f78Compare| // We are in a normal function | ||
| // with a turned off feature gate. We can still call the function | ||
| // but we can't promote it | ||
| self.qualif = Qualif::NOT_CONST; |
There was a problem hiding this comment.
Why is this inside the if? IMO the flags should be as general as possible, so we can make sure less problems show up again. Also, shouldn't this be something like (EDIT: ah, no, below you can see it's also that; the overwrite is because the argument qualifications and the function call result are unrelated and the former have to be cleared anyway)self.add(Qualif::NOT_CONST)?
There was a problem hiding this comment.
Doesn't make much difference as the other branch errors, but seems more consistent indeed
eddyb
commented
May 20, 2018
@bors try (we'll likely need a check-only crater run on this) |
bors
commented
May 20, 2018
Enforce stability of const fn in promoteds r? @eddyb what's going on here? Why do we have two promoted computation algorithms?
oli-obk
commented
May 20, 2018
In case of regressions we could just stabilize the relevant const fns together with fixing the stability hole |
bors
commented
May 20, 2018
☀️ Test successful - status-travis |
oli-obk
commented
May 21, 2018
Ping @rust-lang/infra can you start a check-only crater run? |
emilyalbini
commented
May 21, 2018
Crater run (check-only) started. |
emilyalbini
commented
May 24, 2018
Hi @oli-obk (crater requester), @eddyb (PR reviewer)! Crater results are at: http://cargobomb-reports.s3.amazonaws.com/pr-50909/index.html. 'Blacklisted' crates (spurious failures etc) can be found here. If you see any spurious failures not on the list, please make a PR against that file. (interested observers: Crater is a tool for testing the impact of changes on the crates.io ecosystem. You can find out more at the repo if you're curious) |
eddyb
commented
May 24, 2018
Looks clean! (spurious regression) r=me after rebase |
329fd90 to
a11f785Compareoli-obk
commented
May 24, 2018
@bors r=eddyb |
bors
commented
May 24, 2018
📌 Commit a11f785 has been approved by |
emilyalbini
commented
May 24, 2018
@bors p=1 (backporting to beta) |
bors
commented
May 24, 2018
bors
commented
May 24, 2018
☀️ Test successful - status-appveyor, status-travis |
r? @eddyb
fixes#50901
what's going on here? Why do we have two promoted computation algorithms?