about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-25 20:12:47 +0100
committerGitHub <noreply@github.com>2022-02-25 20:12:47 +0100
commited202b820831c15cea388d67985feae3784bac13 (patch)
tree31d70a26d4c84fad7745a92cc71f6a24f94a37fd /compiler/rustc_codegen_llvm/src
parent54fa9cab7c64b195ceb263b7feaabe20b6c01ece (diff)
parenta31ae159bc29ae26396160b1f3cb0fb358b4eae7 (diff)
downloadrust-ed202b820831c15cea388d67985feae3784bac13.tar.gz
rust-ed202b820831c15cea388d67985feae3784bac13.zip
Rollup merge of #94154 - Urgau:rustdoc-check-cfg, r=GuillaumeGomez
Wire up unstable rustc --check-cfg to rustdoc

This pull-request wire up the new unstable `--check-cfg` option from `rustc` to `rustdoc` as [requested](https://github.com/rust-lang/rust/pull/93915#discussion_r807560445) in the [pull-request](https://github.com/rust-lang/rust/pull/93915) that introduce `--check-cfg`.

The motivation was describe in the original PR by ``@jyn514`` who wrote https://github.com/rust-lang/rust/pull/89346#issuecomment-930129761:
> > add plumbing to pass --check-cfg from rustdoc (do we want this one?)
>
> It would be useful, I think, it catches issues like cfg(doctst) or something (and in general I would like expansion to match rustc as closely as possible).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions