File tree Expand file tree Collapse file tree 5 files changed +1
-5
lines changed Expand file tree Collapse file tree 5 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 4141#![ feature( pointer_is_aligned) ]
4242#![ feature( slice_flatten) ]
4343#![ feature( thin_box) ]
44- #![ feature( bench_black_box) ]
4544#![ feature( strict_provenance) ]
4645#![ feature( once_cell) ]
4746#![ feature( drain_keep_rest) ]
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ pub fn spin_loop() {
217217///
218218/// [`std::convert::identity`]: crate::convert::identity
219219#[ inline]
220- #[ unstable ( feature = "bench_black_box" , issue = "64102 " ) ]
220+ #[ stable ( feature = "bench_black_box" , since = "CURRENT_RUSTC_VERSION " ) ]
221221#[ rustc_const_unstable( feature = "const_black_box" , issue = "none" ) ]
222222pub const fn black_box < T > ( dummy : T ) -> T {
223223 crate :: intrinsics:: black_box ( dummy)
Original file line number Diff line number Diff line change 22#![ feature( array_chunks) ]
33#![ feature( array_methods) ]
44#![ feature( array_windows) ]
5- #![ feature( bench_black_box) ]
65#![ feature( bigint_helper_methods) ]
76#![ feature( cell_update) ]
87#![ feature( const_assume) ]
Original file line number Diff line number Diff line change 351351#![ feature( trace_macros) ]
352352//
353353// Only used in tests/benchmarks:
354- #![ feature( bench_black_box) ]
355354//
356355// Only for const-ness:
357356#![ feature( const_io_structs) ]
Original file line number Diff line number Diff line change 1515
1616#![ unstable( feature = "test" , issue = "50297" ) ]
1717#![ doc( test( attr( deny( warnings) ) ) ) ]
18- #![ feature( bench_black_box) ]
1918#![ feature( internal_output_capture) ]
2019#![ feature( staged_api) ]
2120#![ feature( process_exitcode_internals) ]
You can’t perform that action at this time.
0 commit comments