File tree 3 files changed +5
-4
lines changed 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 195
195
//
196
196
// Language features:
197
197
// tidy-alphabetical-start
198
+ #![ cfg_attr( not( bootstrap) , feature( effects) ) ]
198
199
#![ feature( abi_unadjusted) ]
199
200
#![ feature( adt_const_params) ]
200
201
#![ feature( allow_internal_unsafe) ]
Original file line number Diff line number Diff line change 202
202
/// [nomicon]: ../../nomicon/phantom-data.html#an-exception-the-special-case-of-the-standard-library-and-its-unstable-may_dangle
203
203
#[ lang = "drop" ]
204
204
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
205
- #[ const_trait]
205
+ // FIXME(effects) #[const_trait]
206
206
pub trait Drop {
207
207
/// Executes the destructor for this type.
208
208
///
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ use crate::marker::Tuple;
72
72
) ]
73
73
#[ fundamental] // so that regex can rely that `&str: !FnMut`
74
74
#[ must_use = "closures are lazy and do nothing unless called" ]
75
- #[ const_trait]
75
+ // FIXME(effects) #[const_trait]
76
76
pub trait Fn < Args : Tuple > : FnMut < Args > {
77
77
/// Performs the call operation.
78
78
#[ unstable( feature = "fn_traits" , issue = "29625" ) ]
@@ -159,7 +159,7 @@ pub trait Fn<Args: Tuple>: FnMut<Args> {
159
159
) ]
160
160
#[ fundamental] // so that regex can rely that `&str: !FnMut`
161
161
#[ must_use = "closures are lazy and do nothing unless called" ]
162
- #[ const_trait]
162
+ // FIXME(effects) #[const_trait]
163
163
pub trait FnMut < Args : Tuple > : FnOnce < Args > {
164
164
/// Performs the call operation.
165
165
#[ unstable( feature = "fn_traits" , issue = "29625" ) ]
@@ -238,7 +238,7 @@ pub trait FnMut<Args: Tuple>: FnOnce<Args> {
238
238
) ]
239
239
#[ fundamental] // so that regex can rely that `&str: !FnMut`
240
240
#[ must_use = "closures are lazy and do nothing unless called" ]
241
- #[ const_trait]
241
+ // FIXME(effects) #[const_trait]
242
242
pub trait FnOnce < Args : Tuple > {
243
243
/// The returned type after the call operator is used.
244
244
#[ lang = "fn_once_output" ]
You can’t perform that action at this time.
0 commit comments