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 41
41
#![ feature( pointer_is_aligned) ]
42
42
#![ feature( slice_flatten) ]
43
43
#![ feature( thin_box) ]
44
- #![ feature( bench_black_box) ]
45
44
#![ feature( strict_provenance) ]
46
45
#![ feature( once_cell) ]
47
46
#![ feature( drain_keep_rest) ]
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ pub fn spin_loop() {
217
217
///
218
218
/// [`std::convert::identity`]: crate::convert::identity
219
219
#[ inline]
220
- #[ unstable ( feature = "bench_black_box" , issue = "64102 " ) ]
220
+ #[ stable ( feature = "bench_black_box" , since = "CURRENT_RUSTC_VERSION " ) ]
221
221
#[ rustc_const_unstable( feature = "const_black_box" , issue = "none" ) ]
222
222
pub const fn black_box < T > ( dummy : T ) -> T {
223
223
crate :: intrinsics:: black_box ( dummy)
Original file line number Diff line number Diff line change 2
2
#![ feature( array_chunks) ]
3
3
#![ feature( array_methods) ]
4
4
#![ feature( array_windows) ]
5
- #![ feature( bench_black_box) ]
6
5
#![ feature( bigint_helper_methods) ]
7
6
#![ feature( cell_update) ]
8
7
#![ feature( const_assume) ]
Original file line number Diff line number Diff line change 351
351
#![ feature( trace_macros) ]
352
352
//
353
353
// Only used in tests/benchmarks:
354
- #![ feature( bench_black_box) ]
355
354
//
356
355
// Only for const-ness:
357
356
#![ feature( const_io_structs) ]
Original file line number Diff line number Diff line change 15
15
16
16
#![ unstable( feature = "test" , issue = "50297" ) ]
17
17
#![ doc( test( attr( deny( warnings) ) ) ) ]
18
- #![ feature( bench_black_box) ]
19
18
#![ feature( internal_output_capture) ]
20
19
#![ feature( staged_api) ]
21
20
#![ feature( process_exitcode_internals) ]
You can’t perform that action at this time.
0 commit comments