Skip to content

docs: inline std::ffi::c_str types to std::ffi#134791

Merged
bors merged 2 commits intorust-lang:masterfrom
notriddle:notriddle/inline-ffi-error-types
Dec 27, 2024
Merged

docs: inline std::ffi::c_str types to std::ffi#134791
bors merged 2 commits intorust-lang:masterfrom
notriddle:notriddle/inline-ffi-error-types

Conversation

@notriddle
Copy link
Copy Markdown
Contributor

Rustdoc has no way to show that an item is stable, but only at a different path. std::ffi::c_str::NulError is not stable, but std::ffi::NulError is.

To avoid marking these types as unstable when someone just wants to follow a link from CString, inline them into their stable paths.

Fixes #134702

r? @tgross35

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beta-accepted Accepted for backporting to the compiler in the beta channel. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

Rustdoc regression: stable items reexported from unstable modules appear unstable

10 participants