rust/src/doc
bors 6812af9821 Auto merge of #140842 - tmiasko:print-mono-items, r=saethlin
Remove mono item collection strategy override from -Zprint-mono-items

Previously `-Zprint-mono-items` would override the mono item collection
strategy. When debugging one doesn't want to change the behaviour, so
this was counter productive. Additionally, the produced behaviour was
artificial and might never arise without using the option in the first
place (`-Zprint-mono-items=eager` without `-Clink-dead-code`).  Finally,
the option was incorrectly marked as `UNTRACKED`.

Resolve those issues, by turning `-Zprint-mono-items` into a boolean
flag that prints results of mono item collection without changing the
behaviour of mono item collection.

For codegen-units test incorporate `-Zprint-mono-items` flag directly
into compiletest tool.

Test changes are mechanical. `-Zprint-mono-items=lazy` was removed
without additional changes, and `-Zprint-mono-items=eager` was turned
into `-Clink-dead-code`.  Linking dead code disables internalization, so
tests have been updated accordingly.
2025-05-11 22:15:30 +00:00
..
book@d33916341d Update books 2025-04-15 22:48:28 +02:00
edition-guide@1b1bb49bab Update the edition guide for let chains 2025-05-09 17:11:29 +02:00
embedded-book@0b8219ac23 Update books 2025-02-10 18:00:41 +01:00
man Update rustc man page to match rustc --help 2022-08-01 22:03:18 +00:00
nomicon@c76a20f0d9 Update books 2025-04-21 19:00:50 +02:00
reference@387392674d Update books 2025-05-05 19:01:06 +02:00
rust-by-example@8a8918c698 Update books 2025-05-05 19:01:06 +02:00
rustc add armv5te-unknown-linux-gnueabi target maintainer 2025-05-07 16:01:39 +02:00
rustc-dev-guide Remove mono item collection strategy override from -Zprint-mono-items 2025-05-09 12:19:09 +02:00
rustdoc Rollup merge of #140290 - styvane:patch0001-fix-typo-in-rusdoc-search, r=GuillaumeGomez 2025-04-25 17:31:50 +02:00
style-guide style: Never break within a nullary function call func() or a unit literal () 2025-05-07 20:36:06 +01:00
unstable-book Split duration_constructors to get non-controversial bits out faster. 2025-05-09 22:52:39 -04:00
complement-design-faq.md
complement-lang-faq.md
complement-project-faq.md
favicon.inc doc: no shortcut in rel="icon" 2022-01-28 13:42:48 +01:00
footer.inc avoid reuse tripping over copyright notices 2023-03-09 12:24:43 +01:00
full-toc.inc
grammar.md Remove legacy grammar 2019-09-30 07:46:10 +02:00
guide-crates.md
guide-error-handling.md
guide-ffi.md
guide-macros.md
guide-ownership.md
guide-plugins.md Remove support for compiler plugins. 2023-11-04 08:50:46 +11:00
guide-pointers.md
guide-strings.md
guide-tasks.md
guide-testing.md
guide-unsafe.md
guide.md
index.md doc: add release notes to standalone doc bundle 2023-11-13 16:00:31 -07:00
intro.md
not_found.md rustdoc: consistentify #TOC and #ModNav to lowercase 2024-08-20 16:51:40 -07:00
redirect.inc doc: no shortcut in rel="icon" 2022-01-28 13:42:48 +01:00
reference.md Update reference.md 2021-07-10 19:51:36 +02:00
robots.txt Block version-specific docs from search engines 2020-03-14 02:29:35 +00:00
rust.css Fix heading anchors in doc pages. 2024-03-18 09:13:18 -07:00
rust.md
rustdoc.md
tutorial.md
version_info.html.template