Auto merge of #12450 - ehuss:allow-internal_features, r=epage

Add allow(internal_features)

https://github.com/rust-lang/rust/pull/108955 has added a new deny-by-default lint to reject internal features, which is causing tests to fail on nightly. This adds an `allow` to work around that.
This commit is contained in:
bors 2023-08-05 19:58:53 +00:00
commit f9c45a66d8
3 changed files with 4 additions and 0 deletions

View File

@ -295,6 +295,7 @@ fn allow_features_to_rustc() {
.file(
"src/lib.rs",
r#"
#![allow(internal_features)]
#![feature(test_2018_feature)]
"#,
)

View File

@ -4,6 +4,7 @@ use cargo_test_support::{basic_manifest, project};
use std::fs;
const MINIMAL_LIB: &str = r#"
#![allow(internal_features)]
#![feature(no_core)]
#![feature(lang_items)]
#![no_core]
@ -80,6 +81,7 @@ fn custom_target_dependency() {
.file(
"src/lib.rs",
r#"
#![allow(internal_features)]
#![feature(no_core)]
#![feature(lang_items)]
#![feature(auto_traits)]

View File

@ -756,6 +756,7 @@ fn doc_target() {
.file(
"src/lib.rs",
r#"
#![allow(internal_features)]
#![feature(no_core, lang_items)]
#![no_core]