@@ -56,7 +56,7 @@ use crate::marker::Tuple;
5656#[ lang = "fn" ]
5757#[ stable( feature = "rust1" , since = "1.0.0" ) ]
5858#[ rustc_paren_sugar]
59- #[ cfg_attr ( not ( bootstrap ) , rustc_on_unimplemented(
59+ #[ rustc_on_unimplemented(
6060 on(
6161 Args = "()" ,
6262 note = "wrap the `{Self}` in a closure with no arguments: `|| {{ /* code */ }}`"
@@ -69,7 +69,7 @@ use crate::marker::Tuple;
6969 ) ,
7070 message = "expected a `{Trait}` closure, found `{Self}`" ,
7171 label = "expected an `{Trait}` closure, found `{Self}`"
72- ) ) ]
72+ ) ]
7373#[ fundamental] // so that regex can rely that `&str: !FnMut`
7474#[ must_use = "closures are lazy and do nothing unless called" ]
7575// FIXME(effects) #[const_trait]
@@ -143,7 +143,7 @@ pub trait Fn<Args: Tuple>: FnMut<Args> {
143143#[ lang = "fn_mut" ]
144144#[ stable( feature = "rust1" , since = "1.0.0" ) ]
145145#[ rustc_paren_sugar]
146- #[ cfg_attr ( not ( bootstrap ) , rustc_on_unimplemented(
146+ #[ rustc_on_unimplemented(
147147 on(
148148 Args = "()" ,
149149 note = "wrap the `{Self}` in a closure with no arguments: `|| {{ /* code */ }}`"
@@ -156,7 +156,7 @@ pub trait Fn<Args: Tuple>: FnMut<Args> {
156156 ) ,
157157 message = "expected a `{Trait}` closure, found `{Self}`" ,
158158 label = "expected an `{Trait}` closure, found `{Self}`"
159- ) ) ]
159+ ) ]
160160#[ fundamental] // so that regex can rely that `&str: !FnMut`
161161#[ must_use = "closures are lazy and do nothing unless called" ]
162162// FIXME(effects) #[const_trait]
@@ -222,7 +222,7 @@ pub trait FnMut<Args: Tuple>: FnOnce<Args> {
222222#[ lang = "fn_once" ]
223223#[ stable( feature = "rust1" , since = "1.0.0" ) ]
224224#[ rustc_paren_sugar]
225- #[ cfg_attr ( not ( bootstrap ) , rustc_on_unimplemented(
225+ #[ rustc_on_unimplemented(
226226 on(
227227 Args = "()" ,
228228 note = "wrap the `{Self}` in a closure with no arguments: `|| {{ /* code */ }}`"
@@ -235,7 +235,7 @@ pub trait FnMut<Args: Tuple>: FnOnce<Args> {
235235 ) ,
236236 message = "expected a `{Trait}` closure, found `{Self}`" ,
237237 label = "expected an `{Trait}` closure, found `{Self}`"
238- ) ) ]
238+ ) ]
239239#[ fundamental] // so that regex can rely that `&str: !FnMut`
240240#[ must_use = "closures are lazy and do nothing unless called" ]
241241// FIXME(effects) #[const_trait]
0 commit comments