Fix rebase errors
This commit is contained in:
parent
b3242f4f13
commit
01a2a57ac9
1 changed files with 3 additions and 0 deletions
|
@ -75,6 +75,7 @@ use crate::marker::Tuple;
|
||||||
)]
|
)]
|
||||||
#[fundamental] // so that regex can rely that `&str: !FnMut`
|
#[fundamental] // so that regex can rely that `&str: !FnMut`
|
||||||
#[must_use = "closures are lazy and do nothing unless called"]
|
#[must_use = "closures are lazy and do nothing unless called"]
|
||||||
|
#[const_trait]
|
||||||
pub trait Fn<Args>: FnMut<Args> {
|
pub trait Fn<Args>: FnMut<Args> {
|
||||||
/// Performs the call operation.
|
/// Performs the call operation.
|
||||||
#[unstable(feature = "fn_traits", issue = "29625")]
|
#[unstable(feature = "fn_traits", issue = "29625")]
|
||||||
|
@ -244,6 +245,7 @@ pub trait Fn<Args: Tuple>: FnMut<Args> {
|
||||||
)]
|
)]
|
||||||
#[fundamental] // so that regex can rely that `&str: !FnMut`
|
#[fundamental] // so that regex can rely that `&str: !FnMut`
|
||||||
#[must_use = "closures are lazy and do nothing unless called"]
|
#[must_use = "closures are lazy and do nothing unless called"]
|
||||||
|
#[const_trait]
|
||||||
pub trait FnMut<Args>: FnOnce<Args> {
|
pub trait FnMut<Args>: FnOnce<Args> {
|
||||||
/// Performs the call operation.
|
/// Performs the call operation.
|
||||||
#[unstable(feature = "fn_traits", issue = "29625")]
|
#[unstable(feature = "fn_traits", issue = "29625")]
|
||||||
|
@ -413,6 +415,7 @@ pub trait FnMut<Args: Tuple>: FnOnce<Args> {
|
||||||
)]
|
)]
|
||||||
#[fundamental] // so that regex can rely that `&str: !FnMut`
|
#[fundamental] // so that regex can rely that `&str: !FnMut`
|
||||||
#[must_use = "closures are lazy and do nothing unless called"]
|
#[must_use = "closures are lazy and do nothing unless called"]
|
||||||
|
#[const_trait]
|
||||||
pub trait FnOnce<Args> {
|
pub trait FnOnce<Args> {
|
||||||
/// The returned type after the call operator is used.
|
/// The returned type after the call operator is used.
|
||||||
#[lang = "fn_once_output"]
|
#[lang = "fn_once_output"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue