Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 0a91606

Browse files
Bump cfg(bootstrap)
1 parent 068e3d9 commit 0a91606

File tree

33 files changed

+38
-69
lines changed

33 files changed

+38
-69
lines changed

compiler/rustc_abi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![cfg_attr(feature = "nightly", feature(step_trait, rustc_attrs, min_specialization))]
2-
#![cfg_attr(all(not(bootstrap), feature = "nightly"), allow(internal_features))]
2+
#![cfg_attr(feature = "nightly", allow(internal_features))]
33

44
use std::fmt;
55
#[cfg(feature = "nightly")]

compiler/rustc_arena/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#![deny(unsafe_op_in_unsafe_fn)]
2525
#![deny(rustc::untranslatable_diagnostic)]
2626
#![deny(rustc::diagnostic_outside_of_impl)]
27-
#![cfg_attr(not(bootstrap), allow(internal_features))]
27+
#![allow(internal_features)]
2828
#![allow(clippy::mut_from_ref)] // Arena allocators are one of the places where this pattern is fine.
2929

3030
use smallvec::SmallVec;

compiler/rustc_borrowck/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#![feature(trusted_step)]
1212
#![feature(try_blocks)]
1313
#![recursion_limit = "256"]
14-
#![cfg_attr(not(bootstrap), allow(internal_features))]
14+
#![allow(internal_features)]
1515

1616
#[macro_use]
1717
extern crate rustc_middle;

compiler/rustc_data_structures/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#![allow(rustc::potential_query_instability)]
3838
#![deny(rustc::untranslatable_diagnostic)]
3939
#![deny(rustc::diagnostic_outside_of_impl)]
40-
#![cfg_attr(not(bootstrap), allow(internal_features))]
40+
#![allow(internal_features)]
4141
#![deny(unsafe_op_in_unsafe_fn)]
4242

4343
#[macro_use]

compiler/rustc_error_messages/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#![feature(type_alias_impl_trait)]
55
#![deny(rustc::untranslatable_diagnostic)]
66
#![deny(rustc::diagnostic_outside_of_impl)]
7-
#![cfg_attr(not(bootstrap), allow(internal_features))]
7+
#![allow(internal_features)]
88

99
#[macro_use]
1010
extern crate tracing;

compiler/rustc_errors/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#![feature(box_patterns)]
1616
#![feature(error_reporter)]
1717
#![allow(incomplete_features)]
18-
#![cfg_attr(not(bootstrap), allow(internal_features))]
18+
#![allow(internal_features)]
1919

2020
#[macro_use]
2121
extern crate rustc_macros;

compiler/rustc_expand/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#![feature(try_blocks)]
1212
#![recursion_limit = "256"]
1313
#![deny(rustc::untranslatable_diagnostic)]
14-
#![cfg_attr(not(bootstrap), allow(internal_features))]
14+
#![allow(internal_features)]
1515

1616
#[macro_use]
1717
extern crate rustc_macros;

compiler/rustc_hir/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#![recursion_limit = "256"]
1414
#![deny(rustc::untranslatable_diagnostic)]
1515
#![deny(rustc::diagnostic_outside_of_impl)]
16-
#![cfg_attr(not(bootstrap), allow(internal_features))]
16+
#![allow(internal_features)]
1717

1818
#[macro_use]
1919
extern crate rustc_macros;

compiler/rustc_index/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
test
1313
)
1414
)]
15-
#![cfg_attr(all(not(bootstrap), feature = "nightly"), allow(internal_features))]
15+
#![cfg_attr(feature = "nightly", allow(internal_features))]
1616

1717
#[cfg(feature = "nightly")]
1818
pub mod bit_set;

compiler/rustc_lint/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#![recursion_limit = "256"]
4141
#![deny(rustc::untranslatable_diagnostic)]
4242
#![deny(rustc::diagnostic_outside_of_impl)]
43-
#![cfg_attr(not(bootstrap), allow(internal_features))]
43+
#![allow(internal_features)]
4444

4545
#[macro_use]
4646
extern crate rustc_middle;

0 commit comments

Comments
 (0)