Skip to content

Rollup of 2 pull requests - #163423

Closed
JonathanBrouwer wants to merge 6 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-DAUGit3
Closed

JonathanBrouwer wants to merge 6 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-DAUGit3

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

Warning

This rollup conflicts with pending auto build #163419 and may need to be recreated if the pending build succeeds.

r? @ghost

Create a similar rollup

estebank and others added 6 commits September 27, 2026 23:36
```
error: invalid definition of the runtime `open` symbol used by the standard library
  --> $DIR/runtime-symbols-unix.rs:14:5
   |
LL |     pub fn open() {}
   |     ^^^^^^^^^^^^^
   |
   = note: expected `unsafe extern "C" fn(*const U8, i32, ...) -> i32` (for the current target)
              found `fn()`
   = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]`
   = note: `#[deny(invalid_runtime_symbol_definitions)]` on by default
```
…anBrouwer

Tweak "expected/found" indentation for runtime symbols

```
error: invalid definition of the runtime `open` symbol used by the standard library
  --> $DIR/runtime-symbols-unix.rs:14:5
   |
LL |     pub fn open() {}
   |     ^^^^^^^^^^^^^
   |
   = note: expected `unsafe extern "C" fn(*const U8, i32, ...) -> i32` (for the current target)
              found `fn()`
   = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]`
   = note: `#[deny(invalid_runtime_symbol_definitions)]` on by default
```

r? @JonathanBrouwer
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Sep 28, 2026
@rustbot rustbot added A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic 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. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Sep 28, 2026
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic rollup A PR which is a rollup T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants