Skip to content

Rollup of 8 pull requests #136564

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

Merged
merged 32 commits into from
Feb 5, 2025
Merged
Changes from 2 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
832fcfb
Introduce `DIBuilderBox`, an owning pointer to `DIBuilder`
Zalathar Jan 31, 2025
cd2af2d
Use `LLVMDIBuilderFinalize`
Zalathar Feb 1, 2025
878ab12
Use `LLVMDIBuilderCreateNameSpace`
Zalathar Feb 1, 2025
70d41bc
Use `LLVMDIBuilderCreateLexicalBlock`
Zalathar Feb 1, 2025
949b467
Use `LLVMDIBuilderCreateLexicalBlockFile`
Zalathar Feb 1, 2025
8ddd9c3
Use `LLVMDIBuilderCreateDebugLocation`
Zalathar Feb 1, 2025
5413d2b
Add FIXME for auditing optional parameters passed to DIBuilder
Zalathar Dec 7, 2024
c3f2930
Explain why (some) pointer/length strings are `*const c_uchar`
Zalathar Dec 12, 2024
510de59
rustdoc-json-types: Document that crate name isn't package name.
aDotInTheVoid Feb 1, 2025
f5d5210
rustdoc-book: Clean up section on `--output-format`
aDotInTheVoid Feb 1, 2025
2ea95f8
rustdoc: clean up a bunch of ts-expected-error declarations in main
notriddle Jan 29, 2025
6b016d7
Mark `std::fmt::from_fn` as `#[must_use]`
yotamofek Feb 3, 2025
bcb8565
Contracts core intrinsics.
pnkfelix Dec 2, 2024
777def8
contracts: added lang items that act as hooks for rustc-injected code…
pnkfelix Dec 2, 2024
38eff16
Express contracts as part of function header and lower it to the cont…
celinval Jan 9, 2025
4636dd9
Add tests for nested macro_rules edition behavior
ehuss Feb 3, 2025
ae7eff0
Desugars contract into the internal AST extensions
pnkfelix Dec 3, 2024
b279ff9
demonstrate how to capture state at precondition time and feed into …
pnkfelix Dec 3, 2024
6a6c6b8
Separate contract feature gates for the internal machinery
pnkfelix Dec 3, 2024
804cce4
Refactor contract builtin macro + error handling
celinval Jan 15, 2025
2bb1464
Improve contracts intrisics and remove wrapper function
celinval Jan 17, 2025
2c4923e
Update test output to include check_contracts cfg
celinval Jan 30, 2025
ddbf54b
Rename rustc_contract to contract
celinval Jan 31, 2025
53b8de1
bootstrap: add wrapper macros for `tracing`-gated tracing macros
jieyouxu Jan 31, 2025
d81701b
Rollup merge of #128045 - pnkfelix:rustc-contracts, r=oli-obk
fmease Feb 5, 2025
207777b
Rollup merge of #136263 - notriddle:notriddle/typescript2, r=fmease
fmease Feb 5, 2025
75989e9
Rollup merge of #136375 - Zalathar:llvm-di-builder, r=workingjubilee
fmease Feb 5, 2025
9830837
Rollup merge of #136392 - jieyouxu:wrap-tracing, r=onur-ozkan
fmease Feb 5, 2025
058ed2b
Rollup merge of #136396 - aDotInTheVoid:crate-isnt-package-whyyy, r=G…
fmease Feb 5, 2025
a6ebb87
Rollup merge of #136405 - aDotInTheVoid:unstable-doc, r=notriddle
fmease Feb 5, 2025
ba42006
Rollup merge of #136502 - yotamofek:pr/fmt-from-fn-must-use, r=dtolnay
fmease Feb 5, 2025
c20a58d
Rollup merge of #136509 - ehuss:nested-macro-rules-edition, r=jieyouxu
fmease Feb 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions src/doc/rustdoc/src/unstable-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ the source.

## `--show-type-layout`: add a section to each type's docs describing its memory layout

* Tracking issue: [#113248](https://github.com/rust-lang/rust/issues/113248)
* Tracking issue: [#113248](https://github.com/rust-lang/rust/issues/113248)

Using this flag looks like this:

Expand Down Expand Up @@ -526,9 +526,10 @@ use `-o -`.

### json

* Tracking Issue: [#76578](https://github.com/rust-lang/rust/issues/76578)

`--output-format json` emits documentation in the experimental
[JSON format](https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc_json_types/). `--output-format html` has no effect,
and is also accepted on stable toolchains.
[JSON format](https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc_json_types/).

JSON Output for toolchain crates (`std`, `alloc`, `core`, `test`, and `proc_macro`)
is available via the `rust-docs-json` rustup component.
Expand All @@ -546,11 +547,11 @@ information.

### doctest

* Tracking issue: [#134529](https://github.com/rust-lang/rust/issues/134529)

`--output-format doctest` emits JSON on stdout which gives you information about doctests in the
provided crate.

Tracking issue: [#134529](https://github.com/rust-lang/rust/issues/134529)

You can use this option like this:

```bash
Expand Down Expand Up @@ -606,6 +607,11 @@ The generated output (formatted) will look like this:
* `doctest_code` is the code modified by rustdoc that will be run. If there is a fatal syntax error, this field will not be present.
* `name` is the name generated by rustdoc which represents this doctest.

### html

`--output-format html` has no effect, as the default output is HTML. This is
accepted on stable, even though the other options for this flag aren't.

## `--enable-per-target-ignores`: allow `ignore-foo` style filters for doctests

* Tracking issue: [#64245](https://github.com/rust-lang/rust/issues/64245)
Expand Down