diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-12-01 10:50:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 10:50:18 +0000 |
| commit | 99e075ff293f56376a3ad27d7fcb038d0e2b5595 (patch) | |
| tree | 2d13f4df98f86154f3e88cc5282c0da933a2cb12 /compiler/rustc_mir/src/transform/coverage/mod.rs | |
| parent | 36ce8db2290c32e1d1f2acc422d5ddb28ed9a9a9 (diff) | |
| parent | 95a6427d2c4d4ad53931d1f7e8932a61ba0e9601 (diff) | |
| download | rust-99e075ff293f56376a3ad27d7fcb038d0e2b5595.tar.gz rust-99e075ff293f56376a3ad27d7fcb038d0e2b5595.zip | |
Rollup merge of #79525 - jyn514:feature-gate-normalize, r=GuillaumeGomez
Add -Z normalize-docs and enable it for compiler docs Works around https://github.com/rust-lang/rust/issues/79459 by only enabling normalization for the compiler itself (and anyone who opts-in on nightly). Eventually I want to remove this and enable normalization by default, but that's turned out to be [really hard](https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/How.20do.20I.20normalize.20projection.20types.20to.20a.20single.20type.3F/near/218125195). This uses a command line option instead of a feature gate so it's easier to pass it to all crates at once. Theoretically it's better to use a feature gate instead so that it's easier for people to use on docs.rs, but I'm also not terribly concerned with how easy it to use a temporary hack. Addresses https://github.com/rust-lang/rust/issues/77459.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
