Skip to content

Rollup of 7 pull requests #109824

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 29 commits into from
Mar 31, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e981738
Fix rustdoc intra-doc link invalid ambiguity error message
GuillaumeGomez Mar 13, 2023
e193950
Special case `ambiguity_error` if all candidates have the same "kind"
GuillaumeGomez Mar 14, 2023
c78ebab
Add regression tests for #108653
GuillaumeGomez Mar 3, 2023
95926b2
Rename description of primitive from "builtin type" into "primitive t…
GuillaumeGomez Mar 24, 2023
ec43cb3
Update UI tests for primitive type ambiguity error renaming
GuillaumeGomez Mar 24, 2023
537fdbd
Strenghten disambiguation in `ambiguity_error` and improve documentation
GuillaumeGomez Mar 24, 2023
415a3ca
Put back `is_derive_trait_collision` check
GuillaumeGomez Mar 24, 2023
f995003
Fix subslice capture in closure
clubby789 Mar 27, 2023
f40aa59
Rename doc(primitive) into rustc_doc_primitive
GuillaumeGomez Mar 21, 2023
3ef8d2d
Update tests for rustc_doc_primitive
GuillaumeGomez Mar 21, 2023
364e961
Replace doc(primitive) with rustc_doc_primitive
GuillaumeGomez Mar 21, 2023
48f7148
Update documentation for rustc_doc_primitive
GuillaumeGomez Mar 21, 2023
fa2824a
Add test to ensure doc(primitive) is not recognized anymore
GuillaumeGomez Mar 21, 2023
bcf8a8b
Improve code
GuillaumeGomez Mar 30, 2023
f6035fb
Update doc(primitive) in rustc_resolve
GuillaumeGomez Mar 30, 2023
f249832
Use std::fs::read_to_file in fluent_messages macro
est31 Mar 31, 2023
97fb15d
Don't emit the OS error in a note
est31 Mar 31, 2023
f049d5d
Remove an unnecessary use of `with_session_globals`.
nnethercote Mar 31, 2023
4e63ab6
Improve `with_source_map`.
nnethercote Mar 31, 2023
aab9e32
Update browser-ui-test version to 0.14.6
GuillaumeGomez Mar 31, 2023
efad057
Add tests to check that collapsed content is expanded when jumping to it
GuillaumeGomez Mar 31, 2023
54ef3a4
rustdoc-search: update docs for comma in `?` help popover
notriddle Mar 31, 2023
8fe5b56
Rollup merge of #109104 - GuillaumeGomez:fix-invalid-suggestion-ambig…
GuillaumeGomez Mar 31, 2023
6c93c63
Rollup merge of #109443 - GuillaumeGomez:doc-primitive-hard-error, r=…
GuillaumeGomez Mar 31, 2023
45fcb6f
Rollup merge of #109680 - clubby789:array-subslice-2229, r=davidtwco
GuillaumeGomez Mar 31, 2023
bd4e3f3
Rollup merge of #109798 - est31:ftl_test_note, r=davidtwco
GuillaumeGomez Mar 31, 2023
d732934
Rollup merge of #109805 - nnethercote:source_map-cleanups, r=bjorn3
GuillaumeGomez Mar 31, 2023
32842e8
Rollup merge of #109818 - GuillaumeGomez:test-collapsed-item, r=notri…
GuillaumeGomez Mar 31, 2023
083c128
Rollup merge of #109820 - notriddle:notriddle/help-comma, r=camelid
GuillaumeGomez Mar 31, 2023
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
Prev Previous commit
Next Next commit
Update documentation for rustc_doc_primitive
  • Loading branch information
GuillaumeGomez committed Mar 30, 2023
commit 48f7148fcab44e030882d3c0a7a93e66a92f2ba4
6 changes: 3 additions & 3 deletions src/doc/rustdoc/src/unstable-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ Book][unstable-masked] and [its tracking issue][issue-masked].
This is for Rust compiler internal use only.

Since primitive types are defined in the compiler, there's no place to attach documentation
attributes. The `#[doc(primitive)]` attribute is used by the standard library to provide a way
to generate documentation for primitive types, and requires `#![feature(rustdoc_internals)]` to
enable.
attributes. The `#[rustc_doc_primitive = "..."]` attribute is used by the standard library to
provide a way to generate documentation for primitive types, and requires `#![feature(rustc_attrs)]`
to enable.

### Document keywords

Expand Down