File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 195195//
196196// Language features:
197197// tidy-alphabetical-start
198+ #![ cfg_attr( not( bootstrap) , feature( effects) ) ]
198199#![ feature( abi_unadjusted) ]
199200#![ feature( adt_const_params) ]
200201#![ feature( allow_internal_unsafe) ]
Original file line number Diff line number Diff line change 202202/// [nomicon]: ../../nomicon/phantom-data.html#an-exception-the-special-case-of-the-standard-library-and-its-unstable-may_dangle
203203#[ lang = "drop" ]
204204#[ stable( feature = "rust1" , since = "1.0.0" ) ]
205- #[ const_trait]
205+ // FIXME(effects) #[const_trait]
206206pub trait Drop {
207207 /// Executes the destructor for this type.
208208 ///
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ use crate::marker::Tuple;
7272) ]
7373#[ fundamental] // so that regex can rely that `&str: !FnMut`
7474#[ must_use = "closures are lazy and do nothing unless called" ]
75- #[ const_trait]
75+ // FIXME(effects) #[const_trait]
7676pub trait Fn < Args : Tuple > : FnMut < Args > {
7777 /// Performs the call operation.
7878 #[ unstable( feature = "fn_traits" , issue = "29625" ) ]
@@ -159,7 +159,7 @@ pub trait Fn<Args: Tuple>: FnMut<Args> {
159159) ]
160160#[ fundamental] // so that regex can rely that `&str: !FnMut`
161161#[ must_use = "closures are lazy and do nothing unless called" ]
162- #[ const_trait]
162+ // FIXME(effects) #[const_trait]
163163pub trait FnMut < Args : Tuple > : FnOnce < Args > {
164164 /// Performs the call operation.
165165 #[ unstable( feature = "fn_traits" , issue = "29625" ) ]
@@ -238,7 +238,7 @@ pub trait FnMut<Args: Tuple>: FnOnce<Args> {
238238) ]
239239#[ fundamental] // so that regex can rely that `&str: !FnMut`
240240#[ must_use = "closures are lazy and do nothing unless called" ]
241- #[ const_trait]
241+ // FIXME(effects) #[const_trait]
242242pub trait FnOnce < Args : Tuple > {
243243 /// The returned type after the call operator is used.
244244 #[ lang = "fn_once_output" ]
You can’t perform that action at this time.
0 commit comments