File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ use crate::marker::Tuple;
75
75
) ]
76
76
#[ fundamental] // so that regex can rely that `&str: !FnMut`
77
77
#[ must_use = "closures are lazy and do nothing unless called" ]
78
+ #[ const_trait]
78
79
pub trait Fn < Args > : FnMut < Args > {
79
80
/// Performs the call operation.
80
81
#[ unstable( feature = "fn_traits" , issue = "29625" ) ]
@@ -244,6 +245,7 @@ pub trait Fn<Args: Tuple>: FnMut<Args> {
244
245
) ]
245
246
#[ fundamental] // so that regex can rely that `&str: !FnMut`
246
247
#[ must_use = "closures are lazy and do nothing unless called" ]
248
+ #[ const_trait]
247
249
pub trait FnMut < Args > : FnOnce < Args > {
248
250
/// Performs the call operation.
249
251
#[ unstable( feature = "fn_traits" , issue = "29625" ) ]
@@ -413,6 +415,7 @@ pub trait FnMut<Args: Tuple>: FnOnce<Args> {
413
415
) ]
414
416
#[ fundamental] // so that regex can rely that `&str: !FnMut`
415
417
#[ must_use = "closures are lazy and do nothing unless called" ]
418
+ #[ const_trait]
416
419
pub trait FnOnce < Args > {
417
420
/// The returned type after the call operator is used.
418
421
#[ lang = "fn_once_output" ]
You can’t perform that action at this time.
0 commit comments