Skip to content

ctfe: make CompileTimeInterpCx type alias public - #129309

Merged
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:CompileTimeInterpCx
Aug 21, 2024
Merged

ctfe: make CompileTimeInterpCx type alias public#129309
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:CompileTimeInterpCx

Conversation

@RalfJung

@RalfJungRalfJung commented Aug 20, 2024

Copy link
Copy Markdown
Member

CompileTimeMachine is already public so there is no good reason to not also make this public.

Also add comment explaining why CompileTimeMachine is public.

@rustbot

Copy link
Copy Markdown
Collaborator

r? @nnethercote

rustbot has assigned @nnethercote.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbotrustbot 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 Aug 20, 2024
@compiler-errors

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Aug 20, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit 38af7b0 has been approved by compiler-errors

It is now in the queue for this repository.

@borsbors 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 Aug 20, 2024
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Aug 20, 2024
…mpiler-errors
ctfe: make CompileTimeInterpCx type alias public
`CompileTimeMachine` is already public so there is no good reason to not also make this public.
Also add comment explaining why `CompileTimeMachine` is public.
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 20, 2024
…llaumeGomez
Rollup of 6 pull requests
Successful merges:
- rust-lang#129270 (Don't consider locals to shadow inner items' generics)
- rust-lang#129277 (Update annotate-snippets to 0.11)
- rust-lang#129308 (fix: simple typo in compiler directory)
- rust-lang#129309 (ctfe: make CompileTimeInterpCx type alias public)
- rust-lang#129314 (fix a broken link in `mir/mod.rs`)
- rust-lang#129318 (Remove unneeded conversion to `DefId` for `ExtraInfo`)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 20, 2024
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#128662 (Lint on tail expr drop order change in Edition 2024)
- rust-lang#128932 (skip updating when external binding is existed)
- rust-lang#129270 (Don't consider locals to shadow inner items' generics)
- rust-lang#129277 (Update annotate-snippets to 0.11)
- rust-lang#129294 (Stabilize `iter::repeat_n`)
- rust-lang#129308 (fix: simple typo in compiler directory)
- rust-lang#129309 (ctfe: make CompileTimeInterpCx type alias public)
- rust-lang#129314 (fix a broken link in `mir/mod.rs`)
- rust-lang#129318 (Remove unneeded conversion to `DefId` for `ExtraInfo`)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 21, 2024
…llaumeGomez
Rollup of 6 pull requests
Successful merges:
- rust-lang#129270 (Don't consider locals to shadow inner items' generics)
- rust-lang#129277 (Update annotate-snippets to 0.11)
- rust-lang#129308 (fix: simple typo in compiler directory)
- rust-lang#129309 (ctfe: make CompileTimeInterpCx type alias public)
- rust-lang#129314 (fix a broken link in `mir/mod.rs`)
- rust-lang#129318 (Remove unneeded conversion to `DefId` for `ExtraInfo`)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 21, 2024
…iaskrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#128662 (Lint on tail expr drop order change in Edition 2024)
- rust-lang#128932 (skip updating when external binding is existed)
- rust-lang#129270 (Don't consider locals to shadow inner items' generics)
- rust-lang#129277 (Update annotate-snippets to 0.11)
- rust-lang#129294 (Stabilize `iter::repeat_n`)
- rust-lang#129308 (fix: simple typo in compiler directory)
- rust-lang#129309 (ctfe: make CompileTimeInterpCx type alias public)
- rust-lang#129314 (fix a broken link in `mir/mod.rs`)
- rust-lang#129318 (Remove unneeded conversion to `DefId` for `ExtraInfo`)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit b1f19ca into rust-lang:masterAug 21, 2024
@rustbotrustbot added this to the 1.82.0 milestone Aug 21, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Aug 21, 2024
Rollup merge of rust-lang#129309 - RalfJung:CompileTimeInterpCx, r=compiler-errors
ctfe: make CompileTimeInterpCx type alias public
`CompileTimeMachine` is already public so there is no good reason to not also make this public.
Also add comment explaining why `CompileTimeMachine` is public.
@RalfJung
RalfJung deleted the CompileTimeInterpCx branch August 21, 2024 13:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant 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.

5 participants

@RalfJung@rustbot@compiler-errors@bors@nnethercote