This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 17 files changed +399
-105
lines changed Expand file tree Collapse file tree 17 files changed +399
-105
lines changed Original file line number Diff line number Diff line change 1717#![ feature( iter_zip) ]
1818#![ feature( label_break_value) ]
1919#![ feature( nll) ]
20+ #![ feature( min_specialization) ]
21+ #![ feature( trusted_step) ]
2022#![ recursion_limit = "256" ]
2123
2224#[ macro_use]
Original file line number Diff line number Diff line change 77#![ cfg_attr( bootstrap, feature( extended_key_value_attributes) ) ]
88#![ feature( in_band_lifetimes) ]
99#![ feature( once_cell) ]
10+ #![ feature( min_specialization) ]
11+ #![ feature( trusted_step) ]
1012#![ recursion_limit = "256" ]
1113
1214#[ macro_use]
Original file line number Diff line number Diff line change 66#![ feature( unboxed_closures) ]
77#![ feature( test) ]
88#![ feature( fn_traits) ]
9+ #![ feature( trusted_step) ]
910
1011pub mod bit_set;
1112pub mod vec;
Original file line number Diff line number Diff line change @@ -204,6 +204,9 @@ macro_rules! newtype_index {
204204 }
205205 }
206206
207+ // Safety: The implementation of `Step` upholds all invariants.
208+ unsafe impl :: std:: iter:: TrustedStep for $type { }
209+
207210 impl From <$type> for u32 {
208211 #[ inline]
209212 fn from( v: $type) -> u32 {
Original file line number Diff line number Diff line change 2222#![ feature( never_type) ]
2323#![ feature( in_band_lifetimes) ]
2424#![ feature( control_flow_enum) ]
25+ #![ feature( min_specialization) ]
26+ #![ feature( trusted_step) ]
2527#![ recursion_limit = "512" ] // For rustdoc
2628
2729#[ macro_use]
Original file line number Diff line number Diff line change 5050#![ feature( associated_type_defaults) ]
5151#![ feature( iter_zip) ]
5252#![ feature( thread_local_const_init) ]
53+ #![ feature( trusted_step) ]
5354#![ recursion_limit = "512" ]
5455
5556#[ macro_use]
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ Rust MIR: a lowered representation of Rust.
3131#![ feature( option_get_or_insert_default) ]
3232#![ feature( once_cell) ]
3333#![ feature( control_flow_enum) ]
34+ #![ feature( trusted_step) ]
3435#![ recursion_limit = "256" ]
3536
3637#[ macro_use]
Original file line number Diff line number Diff line change 1010#![ feature( bool_to_option) ]
1111#![ feature( iter_zip) ]
1212#![ feature( once_cell) ]
13+ #![ feature( min_specialization) ]
14+ #![ feature( trusted_step) ]
1315#![ recursion_limit = "256" ]
1416
1517#[ macro_use]
Original file line number Diff line number Diff line change 1010#![ feature( in_band_lifetimes) ]
1111#![ feature( iter_zip) ]
1212#![ feature( nll) ]
13+ #![ feature( min_specialization) ]
14+ #![ feature( trusted_step) ]
1315#![ recursion_limit = "256" ]
1416
1517#[ macro_use]
Original file line number Diff line number Diff line change 66#![ feature( iter_zip) ]
77#![ feature( min_specialization) ]
88#![ feature( stmt_expr_attributes) ]
9+ #![ feature( trusted_step) ]
910
1011#[ macro_use]
1112extern crate tracing;
You can’t perform that action at this time.
0 commit comments