diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-11-28 19:19:41 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-11-29 17:21:24 -0500 |
| commit | 95a6427d2c4d4ad53931d1f7e8932a61ba0e9601 (patch) | |
| tree | 709a21e3109e427eb3430aef199e24aa31a31a8c /compiler/rustc_session | |
| parent | e37f25aa3f356546ab851e394d5598fc575eabda (diff) | |
| download | rust-95a6427d2c4d4ad53931d1f7e8932a61ba0e9601.tar.gz rust-95a6427d2c4d4ad53931d1f7e8932a61ba0e9601.zip | |
Add -Z normalize-docs and enable it for compiler docs
Diffstat (limited to 'compiler/rustc_session')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index b438be0696a..66c709b4080 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -996,6 +996,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, "run LLVM in non-parallel mode (while keeping codegen-units and ThinLTO)"), no_profiler_runtime: bool = (false, parse_no_flag, [TRACKED], "prevent automatic injection of the profiler_builtins crate"), + normalize_docs: bool = (false, parse_bool, [TRACKED], + "normalize associated items in rustdoc when generating documentation"), osx_rpath_install_name: bool = (false, parse_bool, [TRACKED], "pass `-install_name @rpath/...` to the macOS linker (default: no)"), panic_abort_tests: bool = (false, parse_bool, [TRACKED], |
