diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-05-07 16:19:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-07 16:19:19 +0200 |
| commit | 0c8c21d224ca94f63d2b07000e8223f3a041281b (patch) | |
| tree | 47cb068c6bff685ccb7caba44516655f9b3a5ce5 /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | cd37b950584cb320dc7a9a7bb59e8da5f91eb3c8 (diff) | |
| parent | 6eb4735acc50f58e501b42c5d75ae73b3d74b44d (diff) | |
| download | rust-0c8c21d224ca94f63d2b07000e8223f3a041281b.tar.gz rust-0c8c21d224ca94f63d2b07000e8223f3a041281b.zip | |
Rollup merge of #84442 - jyn514:doc-cfg, r=petrochenkov
Unify rustc and rustdoc parsing of `cfg()` This extracts a new `parse_cfg` function that's used between both. - Treat `#[doc(cfg(x), cfg(y))]` the same as `#[doc(cfg(x)] #[doc(cfg(y))]`. Previously it would be completely ignored. - Treat `#[doc(inline, cfg(x))]` the same as `#[doc(inline)] #[doc(cfg(x))]`. Previously, the cfg would be ignored. - Pass the cfg predicate through to rustc_expand to be validated Technically this is a breaking change, but doc_cfg is still nightly so I don't think it matters. Fixes https://github.com/rust-lang/rust/issues/84437. r? `````````@petrochenkov`````````
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
