Skip to content

Commit 73627dd

Browse files
committed
rust: allow both old and new doc lint
Renamed in rust-lang/rust#74926 committed on 2020-07-31.
1 parent 2efaf5f commit 73627dd

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

rust/daead/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
//! Unlike AEAD, implementations of this interface are not semantically secure, because
1818
//! encrypting the same plaintex always yields the same ciphertext.
1919
20+
#![allow(unknown_lints)]
2021
#![deny(broken_intra_doc_links)]
22+
#![deny(intra_doc_link_resolution_failure)]
2123

2224
use std::sync::Once;
2325

rust/mac/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
//! message. MAC protects data integrity as well as provides for authenticity
1919
//! of the message.
2020
21+
#![allow(unknown_lints)]
2122
#![deny(broken_intra_doc_links)]
23+
#![deny(intra_doc_link_resolution_failure)]
2224

2325
use std::sync::Once;
2426

rust/prf/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
//! This crate provides implementations of the [`tink::Prf`] primitive.
1616
17+
#![allow(unknown_lints)]
1718
#![deny(broken_intra_doc_links)]
19+
#![deny(intra_doc_link_resolution_failure)]
1820

1921
mod aes_cmac_prf_key_manager;
2022
pub use aes_cmac_prf_key_manager::*;

rust/testutil/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
//! Provides common methods needed in test code.
1616
17+
#![allow(unknown_lints)]
1718
#![deny(broken_intra_doc_links)]
19+
#![deny(intra_doc_link_resolution_failure)]
1820

1921
use prost::Message;
2022
use std::{convert::TryInto, sync::Arc};

rust/tink/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
//! Core crate for Tink.
1616
17+
#![allow(unknown_lints)]
1718
#![deny(broken_intra_doc_links)]
19+
#![deny(intra_doc_link_resolution_failure)]
1820

1921
use std::sync::Arc;
2022

0 commit comments

Comments
 (0)