File tree Expand file tree Collapse file tree 11 files changed +2
-11
lines changed Expand file tree Collapse file tree 11 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 10
10
) ]
11
11
#![ feature( box_syntax) ]
12
12
#![ feature( box_patterns) ]
13
- #![ feature( const_fn) ] // For the `transmute` in `P::new`
13
+ #![ cfg_attr( bootstrap, feature( const_fn) ) ] // For the `transmute` in `P::new`
14
+ #![ cfg_attr( not( bootstrap) , feature( const_fn_unsize) ) ] // For the `transmute` in `P::new`
14
15
#![ feature( const_fn_transmute) ]
15
16
#![ feature( const_panic) ]
16
17
#![ feature( crate_visibility_modifier) ]
Original file line number Diff line number Diff line change 3
3
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html
4
4
5
5
#![ feature( crate_visibility_modifier) ]
6
- #![ feature( const_fn) ] // For the unsizing cast on `&[]`
7
6
#![ feature( const_panic) ]
8
7
#![ feature( extended_key_value_attributes) ]
9
8
#![ feature( in_band_lifetimes) ]
Original file line number Diff line number Diff line change 1
1
#![ feature( allow_internal_unstable) ]
2
- #![ feature( const_fn) ]
3
2
#![ feature( const_panic) ]
4
3
#![ feature( extend_one) ]
5
4
#![ feature( iter_zip) ]
Original file line number Diff line number Diff line change 16
16
#![ feature( bool_to_option) ]
17
17
#![ feature( box_patterns) ]
18
18
#![ feature( box_syntax) ]
19
- #![ feature( const_fn) ]
20
19
#![ feature( const_panic) ]
21
20
#![ feature( extend_one) ]
22
21
#![ feature( iter_zip) ]
Original file line number Diff line number Diff line change 29
29
#![ feature( bool_to_option) ]
30
30
#![ feature( box_patterns) ]
31
31
#![ feature( box_syntax) ]
32
- #![ feature( const_fn) ]
33
32
#![ feature( const_panic) ]
34
33
#![ feature( core_intrinsics) ]
35
34
#![ feature( discriminant_kind) ]
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ Rust MIR: a lowered representation of Rust.
12
12
#![ feature( bool_to_option) ]
13
13
#![ feature( box_patterns) ]
14
14
#![ feature( box_syntax) ]
15
- #![ feature( const_fn) ]
16
15
#![ feature( const_panic) ]
17
16
#![ feature( crate_visibility_modifier) ]
18
17
#![ feature( decl_macro) ]
Original file line number Diff line number Diff line change 4
4
#![ feature( array_windows) ]
5
5
#![ feature( box_patterns) ]
6
6
#![ feature( box_syntax) ]
7
- #![ feature( const_fn) ]
8
7
#![ feature( const_panic) ]
9
8
#![ feature( control_flow_enum) ]
10
9
#![ feature( crate_visibility_modifier) ]
Original file line number Diff line number Diff line change 5
5
//! This API is completely unstable and subject to change.
6
6
7
7
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
8
- #![ feature( const_fn) ]
9
8
#![ feature( const_panic) ]
10
9
#![ feature( crate_visibility_modifier) ]
11
10
#![ feature( in_band_lifetimes) ]
Original file line number Diff line number Diff line change 1
1
#![ feature( bool_to_option) ]
2
- #![ feature( const_fn) ]
3
2
#![ feature( const_panic) ]
4
3
#![ feature( core_intrinsics) ]
5
4
#![ feature( drain_filter) ]
Original file line number Diff line number Diff line change 16
16
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
17
17
#![ feature( array_windows) ]
18
18
#![ feature( crate_visibility_modifier) ]
19
- #![ feature( const_fn) ]
20
19
#![ feature( const_panic) ]
21
20
#![ feature( negative_impls) ]
22
21
#![ feature( nll) ]
Original file line number Diff line number Diff line change 9
9
10
10
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ) ]
11
11
#![ feature( bool_to_option) ]
12
- #![ feature( const_fn) ]
13
12
#![ feature( const_panic) ]
14
13
#![ feature( nll) ]
15
14
#![ feature( never_type) ]
You can’t perform that action at this time.
0 commit comments