Allow internal_features lint in doc tests

Rustdoc forwards -Zcrate-attr=feature(rustdoc_internals) to doc tests,
but deny(warnings) overrides the -Ainternal_features.
This commit is contained in:
bjorn3 2025-11-05 11:13:23 +00:00
parent 973c7527b4
commit 222480dcb9
7 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,7 @@
//! This API is still completely unstable and subject to change.
#![allow(rustc::usage_of_ty_tykind)]
#![doc(test(attr(allow(unused_variables), deny(warnings))))]
#![doc(test(attr(allow(unused_variables), deny(warnings), allow(internal_features))))]
#![feature(sized_hierarchy)]
//!
//! This crate shall contain all type definitions and APIs that we expect third-party tools to invoke to