diff options
| author | bors <bors@rust-lang.org> | 2022-02-20 08:38:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-02-20 08:38:28 +0000 |
| commit | 6d7aa4763fe7f737d6add4261b9e050b36701089 (patch) | |
| tree | 3f48ea10f5e8a10c06d0d4e93bea05ac7fe0a5e9 /compiler/rustc_codegen_gcc | |
| parent | a6fe969541d14ad8ba286c47416e6d3f58a1c9a4 (diff) | |
| parent | 1a6d41cdb5219763eeaf3604e5805a854e5ba931 (diff) | |
| download | rust-6d7aa4763fe7f737d6add4261b9e050b36701089.tar.gz rust-6d7aa4763fe7f737d6add4261b9e050b36701089.zip | |
Auto merge of #93605 - notriddle:notriddle/rustdoc-html-tags-resolve, r=GuillaumeGomez
rustdoc: resolve intra-doc links when checking HTML Similar to #86451 CC #67799 Given this test case: ```rust #![warn(rustdoc::invalid_html_tags)] #![warn(rustdoc::broken_intra_doc_links)] pub struct ExistentStruct<T>(T); /// This [test][ExistentStruct<i32>] thing! pub struct NoError; ``` This pull request silences the following, spurious warning: ```text warning: unclosed HTML tag `i32` --> test.rs:6:31 | 6 | /// This [test][ExistentStruct<i32>] thing! | ^^^^^ | note: the lint level is defined here --> test.rs:1:9 | 1 | #![warn(rustdoc::invalid_html_tags)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try marking as source code | 6 | /// This [test][`ExistentStruct<i32>`] thing! | + + warning: 1 warning emitted ```
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
