Skip to content

Commit e5a520f

Browse files
committed
Remove unused features
1 parent 8847bda commit e5a520f

File tree

45 files changed

+7
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+7
-97
lines changed

compiler/rustc_ast/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@
1313
#![feature(rustdoc_internals)]
1414
#![feature(associated_type_bounds)]
1515
#![feature(box_patterns)]
16-
#![feature(const_trait_impl)]
1716
#![feature(if_let_guard)]
1817
#![feature(let_chains)]
1918
#![feature(min_specialization)]
2019
#![feature(negative_impls)]
2120
#![feature(stmt_expr_attributes)]
22-
#![recursion_limit = "256"]
2321
#![deny(rustc::untranslatable_diagnostic)]
2422
#![deny(rustc::diagnostic_outside_of_impl)]
2523

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@
3333
#![allow(internal_features)]
3434
#![feature(rustdoc_internals)]
3535
#![doc(rust_logo)]
36-
#![feature(if_let_guard)]
3736
#![feature(box_patterns)]
3837
#![feature(let_chains)]
39-
#![recursion_limit = "256"]
4038
#![deny(rustc::untranslatable_diagnostic)]
4139
#![deny(rustc::diagnostic_outside_of_impl)]
4240

compiler/rustc_ast_passes/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#![feature(if_let_guard)]
1212
#![feature(iter_is_partitioned)]
1313
#![feature(let_chains)]
14-
#![recursion_limit = "256"]
1514
#![deny(rustc::untranslatable_diagnostic)]
1615
#![deny(rustc::diagnostic_outside_of_impl)]
1716

compiler/rustc_ast_pretty/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#![deny(rustc::untranslatable_diagnostic)]
55
#![deny(rustc::diagnostic_outside_of_impl)]
66
#![feature(box_patterns)]
7-
#![feature(let_chains)]
8-
#![recursion_limit = "256"]
97

108
mod helpers;
119
pub mod pp;

compiler/rustc_borrowck/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@
88
#![feature(let_chains)]
99
#![feature(min_specialization)]
1010
#![feature(never_type)]
11-
#![feature(lazy_cell)]
1211
#![feature(rustc_attrs)]
1312
#![feature(stmt_expr_attributes)]
14-
#![feature(trusted_step)]
1513
#![feature(try_blocks)]
16-
#![recursion_limit = "256"]
1714

1815
#[macro_use]
1916
extern crate rustc_middle;

compiler/rustc_builtin_macros/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@
55
#![feature(rustdoc_internals)]
66
#![doc(rust_logo)]
77
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
8-
#![feature(array_windows)]
98
#![feature(box_patterns)]
109
#![feature(decl_macro)]
1110
#![feature(if_let_guard)]
12-
#![feature(is_sorted)]
1311
#![feature(let_chains)]
1412
#![feature(lint_reasons)]
1513
#![feature(proc_macro_internals)]
1614
#![feature(proc_macro_quote)]
17-
#![recursion_limit = "256"]
1815

1916
extern crate proc_macro;
2017

compiler/rustc_codegen_llvm/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
#![feature(iter_intersperse)]
1515
#![feature(let_chains)]
1616
#![feature(min_specialization)]
17-
#![feature(never_type)]
1817
#![feature(impl_trait_in_assoc_type)]
19-
#![recursion_limit = "256"]
2018
#![deny(rustc::untranslatable_diagnostic)]
2119
#![deny(rustc::diagnostic_outside_of_impl)]
2220

compiler/rustc_codegen_ssa/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
#![feature(if_let_guard)]
88
#![feature(let_chains)]
99
#![feature(negative_impls)]
10-
#![feature(never_type)]
1110
#![feature(strict_provenance)]
1211
#![feature(try_blocks)]
13-
#![recursion_limit = "256"]
1412

1513
//! This crate contains codegen code that is used by all codegen backends (LLVM and others).
1614
//! The backend-agnostic functions of this crate use functions defined in various traits that

compiler/rustc_const_eval/src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,13 @@ Rust MIR: a lowered representation of Rust.
1111
#![feature(assert_matches)]
1212
#![feature(box_patterns)]
1313
#![feature(decl_macro)]
14-
#![feature(exact_size_is_empty)]
1514
#![feature(let_chains)]
16-
#![feature(map_try_insert)]
17-
#![feature(min_specialization)]
1815
#![feature(slice_ptr_get)]
19-
#![feature(option_get_or_insert_default)]
2016
#![feature(never_type)]
2117
#![feature(trait_alias)]
22-
#![feature(trusted_len)]
23-
#![feature(trusted_step)]
2418
#![feature(try_blocks)]
2519
#![feature(yeet_expr)]
2620
#![feature(if_let_guard)]
27-
#![recursion_limit = "256"]
2821

2922
#[macro_use]
3023
extern crate tracing;

compiler/rustc_data_structures/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#![feature(allocator_api)]
1919
#![feature(array_windows)]
2020
#![feature(auto_traits)]
21-
#![feature(cell_leak)]
2221
#![feature(cfg_match)]
2322
#![feature(core_intrinsics)]
2423
#![feature(extend_one)]

0 commit comments

Comments
 (0)