rustc-dev-guide/src
Tomasz Miąsko b82a852640 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-09 12:19:09 +02:00
..
appendix Documentation fixes. 2025-04-14 09:18:15 +10:00
autodiff update build and test instructions 2025-04-22 01:16:04 -04:00
backend Fix deadlink in libs-and-metadata.md 2025-04-06 20:05:03 +08:00
borrow_check
building adds commas 2025-05-01 04:07:27 +00:00
const-eval
diagnostics tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc` 2025-02-03 13:25:57 +03:00
guides Add documentation on how to stabilize the compiler edition 2025-04-28 14:53:36 -07:00
img
mir Separate `Analysis` and `Results`. 2025-04-24 11:36:07 +10:00
notification-groups Merge from rustc 2025-04-02 23:26:35 +08:00
profiling replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide 2025-03-17 12:56:44 +05:30
queries use consistent title capitalization 2025-04-12 13:01:16 +02:00
rustc-driver Merge pull request #2289 from y1lan/fix_compiler_err_of_examples 2025-03-29 23:10:13 +02:00
rustdoc-internals typo 2025-03-24 10:41:19 +02:00
solve Introduce a normalization chapter 2025-04-29 19:08:55 +01:00
tests Remove mono item collection strategy override from -Zprint-mono-items 2025-05-09 12:19:09 +02:00
traits Update `ParamEnv` section for `TypingEnv` changes 2025-03-20 17:30:22 +00:00
ty_module Fix trivial typo of `BoundVariableKind` 2025-03-28 21:04:21 +01:00
SUMMARY.md Merge pull request #2266 from BoxyUwU/normalization 2025-04-29 20:19:27 +02:00
about-this-guide.md Update table of contents in about-this-guide.md 2025-04-11 16:57:44 +03:00
asm.md
ast-lowering.md
ast-validation.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
attributes.md
borrow_check.md
bug-fix-procedure.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
cli.md
closure.md
coherence.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
compiler-debugging.md Improve `borrowck_graphviz_*` documentation. 2025-04-16 08:57:15 +10:00
compiler-src.md for a more friendly output 2025-04-29 23:39:06 +02:00
compiler-team.md
const-eval.md Update `ParamEnv` section for `TypingEnv` changes 2025-03-20 17:30:22 +00:00
contributing.md Merge pull request #2337 from xizheyin/sync-code 2025-04-16 07:36:00 +02:00
conventions.md clean "Coding conventions" chapter 2025-04-14 08:41:22 +02:00
coroutine-closures.md
crates-io.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
debugging-support-in-rustc.md
diagnostics.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
early_late_parameters.md
effects.md consider `explicit_implied_const_bounds` 2025-03-08 16:38:44 +08:00
external-repos.md
feature-gate-ck.md
feature-gates.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
fuzzing.md replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide 2025-03-17 12:56:44 +05:30
generic_parameters_summary.md
getting-started.md Remove "Port run-make tests from Make to Rust" tracking issue from Recurring work 2025-02-04 01:26:15 +05:30
git.md replace command that does not work 2025-04-26 15:34:43 +02:00
hir-debugging.md
hir.md fix broken link 2025-04-19 16:04:22 +02:00
implementing_new_features.md Fix MCP links 2025-03-14 15:18:58 +01:00
incrcomp-debugging.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
lang-items.md
licenses.md
llvm-coverage-instrumentation.md replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide 2025-03-17 12:56:44 +05:30
macro-expansion.md
memory.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
method-lookup.md
name-resolution.md
normalization.md Fix footnotes 2025-04-29 19:35:26 +01:00
opaque-types-impl-trait-inference.md
opaque-types-type-alias-impl-trait.md
overview.md replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide 2025-03-17 12:56:44 +05:30
panic-implementation.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
parallel-rustc.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
part-2-intro.md
part-3-intro.md
part-4-intro.md
part-5-intro.md
pat-exhaustive-checking.md
profile-guided-optimization.md replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide 2025-03-17 12:56:44 +05:30
profiling.md replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide 2025-03-17 12:56:44 +05:30
query.md
return-position-impl-trait-in-trait.md
rustbot.md
rustdoc-internals.md
rustdoc.md add some links about the rustdoc-gui test suite 2025-04-03 15:09:11 -05:00
sanitizers.md replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide 2025-03-17 12:56:44 +05:30
serialization.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
stability.md
stabilization_guide.md
syntax-intro.md
test-implementation.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
the-parser.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
thir.md
tracing.md replace config.toml to bootstrap.toml in src:doc:rustc-dev-guide 2025-03-17 12:56:44 +05:30
ty-fold.md
ty.md Rename `LifetimeName` as `LifetimeKind`. 2025-04-16 07:16:40 +10:00
type-checking.md
type-inference.md
typing_parameter_envs.md Update `ParamEnv` section for `TypingEnv` changes 2025-03-20 17:30:22 +00:00
unsafety-checking.md use consistent title capitalization 2025-04-12 13:01:16 +02:00
variance.md
walkthrough.md Update "crater" link to actually point to crater.md 2025-04-12 00:05:26 +02:00