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

Rollup of 7 pull requests #117400

Closed
wants to merge 19 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

RalfJung and others added 19 commits October 28, 2023 15:40
Fix: Write access check of `prefix` and `sysconfdir`
when DESTDIR is present.

Improvement: Instead of repeatedly reading `DESTDIR` within
each `fn prepare_dir` usage, read it once and pass it to
the `fn prepare_dir`.

Signed-off-by: onur-ozkan <[email protected]>
For a local pattern with no space between `let` and `(` e.g.:

  let(_a) = 3;

we were previously suggesting this illegal code:

  let_a =3;

After this change the suggestion will instead be:

  let _a =3;

(Note the space after `let`)
share some track_caller logic between interpret and codegen

Also move the code that implements the track_caller intrinsics out of the core interpreter engine -- it's just a helper creating a const-allocation, doesn't need to be part of the interpreter core.
Rename a few remaining references to abort terminator

Follow up to e3f2edc
…larsan68

improve and fix `x install`

Fix: Write access check of `prefix` and `sysconfdir` when DESTDIR is present.

Improvement: Instead of repeatedly reading `DESTDIR` within each `fn prepare_dir` usage, read it once and pass it to the `fn prepare_dir`.

Fixes rust-lang#117203
Some diagnostics improvements of `gen` blocks

These are leftovers from rust-lang#116447
…d-macro, r=estebank

Fix unused variables lint issue for args in macro

Fixes rust-lang#117284
r? `@estebank`
…Nilstrieb

Fix missing leading space in suggestion

For a local pattern with no space between `let` and `(` e.g.:
```rust
  let(_a) = 3;
```
we were previously suggesting this illegal code:
```rust
  let_a = 3;
```
After this change the suggestion will instead be:
```rust
  let _a = 3;
```
Fixes rust-lang#117380
…ompiler-errors

Don't treat closures/coroutine types as part of the public API

Fixes a regression from rust-lang#117076

r? `@compiler-errors`
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Oct 30, 2023
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=7

@bors
Copy link
Contributor

bors commented Oct 30, 2023

📌 Commit 3f4edea has been approved by matthiaskrgr

It is now in the queue for this repository.

@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 Oct 30, 2023
@bors
Copy link
Contributor

bors commented Oct 30, 2023

⌛ Testing commit 3f4edea with merge 8bd0f22...

bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 30, 2023
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#117317 (share some track_caller logic between interpret and codegen)
 - rust-lang#117357 (Rename a few remaining references to abort terminator)
 - rust-lang#117383 (improve and fix `x install`)
 - rust-lang#117389 (Some diagnostics improvements of `gen` blocks)
 - rust-lang#117390 (Fix unused variables lint issue for args in macro)
 - rust-lang#117395 (Fix missing leading space in suggestion)
 - rust-lang#117396 (Don't treat closures/coroutine types as part of the public API)

r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer
Copy link
Collaborator

The job test-various failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
---- [ui] tests/ui/coroutine/gen_block_panic.rs stdout ----

error: test run failed!
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/coroutine/gen_block_panic" && RUST_TEST_THREADS="8" "/node-v18.12.0-linux-x64/bin/node" "/checkout/src/etc/wasm32-shim.js" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/coroutine/gen_block_panic/a.wasm"
--- stderr -------------------------------
RuntimeError: unreachable
RuntimeError: unreachable
    at __rust_start_panic (wasm://wasm/0001a09a:wasm-function[49]:0x329a)
    at rust_panic (wasm://wasm/0001a09a:wasm-function[47]:0x3268)
    at _ZN3std9panicking20rust_panic_with_hook17h6443c1ec7c3e90daE (wasm://wasm/0001a09a:wasm-function[46]:0x325a)
    at _ZN3std9panicking19begin_panic_handler28_$u7b$$u7b$closure$u7d$$u7d$17he79bec1d8dac721dE (wasm://wasm/0001a09a:wasm-function[36]:0x2ab4)
    at _ZN3std10sys_common9backtrace26__rust_end_short_backtrace17h6548160920a0aa24E (wasm://wasm/0001a09a:wasm-function[35]:0x2a1a)
    at rust_begin_unwind (wasm://wasm/0001a09a:wasm-function[41]:0x2ef4)
    at _ZN4core9panicking9panic_fmt17h211f4f538284a6e5E (wasm://wasm/0001a09a:wasm-function[61]:0x3938)
    at _ZN15gen_block_panic4main17h487d60b56fd50e89E (wasm://wasm/0001a09a:wasm-function[5]:0x1f4)
    at _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h1879bf9d5eb09394E (wasm://wasm/0001a09a:wasm-function[0]:0x13f)
    at _ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h2f005318e2fcf935E (wasm://wasm/0001a09a:wasm-function[2]:0x191)
    at _ZN3std2rt19lang_start_internal17h56723d5513298b48E (wasm://wasm/0001a09a:wasm-function[32]:0x2876)
    at _ZN3std2rt10lang_start17h192e97c8c981651fE (wasm://wasm/0001a09a:wasm-function[1]:0x174)
    at main (wasm://wasm/0001a09a:wasm-function[6]:0x20a)
    at Object.<anonymous> (/checkout/src/etc/wasm32-shim.js:20:20)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47



failures:

@bors
Copy link
Contributor

bors commented Oct 30, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 30, 2023
@matthiaskrgr matthiaskrgr deleted the rollup-egvtgh4 branch March 16, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant 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.

10 participants