diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-11-09 01:13:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-09 01:13:31 +0100 |
| commit | b9671ae5f81cf20536b58869a7fad1363a78b375 (patch) | |
| tree | eb339b34c9dbd78fbc6d18433253efb4316b234b /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 41134be153ec0e152b0bb5cf79731abdde7c4e04 (diff) | |
| parent | 47b21b84f3ed88cff31fccc78a57a66241a26496 (diff) | |
| download | rust-b9671ae5f81cf20536b58869a7fad1363a78b375.tar.gz rust-b9671ae5f81cf20536b58869a7fad1363a78b375.zip | |
Rollup merge of #78114 - jyn514:private, r=oli-obk
Recognize `private_intra_doc_links` as a lint Previously, trying to allow this would give another error! ``` warning: unknown lint: `private_intra_doc_links` --> private.rs:1:10 | 1 | #![allow(private_intra_doc_links)] | ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `broken_intra_doc_links` | = note: `#[warn(unknown_lints)]` on by default warning: public documentation for `DocMe` links to private item `DontDocMe` --> private.rs:2:11 | 2 | /// docs [DontDocMe] | ^^^^^^^^^ this item is private | = note: `#[warn(private_intra_doc_links)]` on by default = note: this link will resolve properly if you pass `--document-private-items` ``` Fixes the issue found in https://github.com/rust-lang/rust/pull/77249#issuecomment-712339227. r? ````````@Manishearth```````` Does anyone know why this additional step is necessary? It seems weird this has to be declared in 3 different places.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
