Skip to content

Test that #[track_caller] as fn() respects RT / CTFE equivalence #68798

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Feb 3, 2020

@Centril Centril added the F-track_caller `#![feature(track_caller)]` label Feb 3, 2020
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 3, 2020
@Centril Centril changed the title track_caller: test that #[track_caller] as fn() respects RT / CTFE equivalence Test that #[track_caller] as fn() respects RT / CTFE equivalence Feb 3, 2020
@RalfJung
Copy link
Member

RalfJung commented Feb 3, 2020

LGTM! @bors r+

@bors
Copy link
Collaborator

bors commented Feb 3, 2020

📌 Commit f0eec88 has been approved by 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 Feb 3, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Feb 3, 2020
…=RalfJung

Test that `#[track_caller]` as `fn()` respects RT / CTFE equivalence

r? @RalfJung cc @anp @eddyb
bors added a commit that referenced this pull request Feb 3, 2020
Rollup of 8 pull requests

Successful merges:

 - #68678 (Install robots.txt into rust-docs tarballs)
 - #68711 (Added upper bound of what vecs and boxes can allocate)
 - #68744 (Do not ICE in `type-alias-impl-trait` with save-analysis)
 - #68777 (Clean up E0263 explanation)
 - #68787 (Optimize core::ptr::align_offset (part 1))
 - #68797 (Fix links to types instead of modules)
 - #68798 (Test that `#[track_caller]` as `fn()` respects RT / CTFE equivalence)
 - #68800 (Stabilize `core::iter::once_with()`)

Failed merges:

r? @ghost
@bors bors merged commit f0eec88 into rust-lang:master Feb 3, 2020
@Centril Centril deleted the caller-loc-ctfe-rt-equiv branch February 3, 2020 23:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
F-track_caller `#![feature(track_caller)]` 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.

4 participants