Convert to TODOs to FIXMEs as per matklad
This commit is contained in:
parent
55a29982c0
commit
65b380fa8d
@ -2650,8 +2650,7 @@ impl ast::AttrsOwner for ModuleItem {}
|
||||
impl ast::VisibilityOwner for ModuleItem {}
|
||||
/// Any kind of item that may appear in an impl block
|
||||
///
|
||||
/// // TODO: is the following a fixme?
|
||||
/// impl blocks can also contain MacroCall
|
||||
/// // FIXME: impl blocks can also contain MacroCall
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum AssocItem {
|
||||
FnDef(FnDef),
|
||||
@ -2662,8 +2661,7 @@ impl ast::NameOwner for AssocItem {}
|
||||
impl ast::AttrsOwner for AssocItem {}
|
||||
/// Any kind of item that may appear in an extern block
|
||||
///
|
||||
/// // TODO: is the following a fixme?
|
||||
/// extern blocks can also contain MacroCall
|
||||
/// // FIXME: extern blocks can also contain MacroCall
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum ExternItem {
|
||||
FnDef(FnDef),
|
||||
|
@ -2150,16 +2150,14 @@ enum ModuleItem: NameOwner, AttrsOwner, VisibilityOwner {
|
||||
|
||||
/// Any kind of item that may appear in an impl block
|
||||
///
|
||||
/// // TODO: is the following a fixme?
|
||||
/// impl blocks can also contain MacroCall
|
||||
/// // FIXME: impl blocks can also contain MacroCall
|
||||
enum AssocItem: NameOwner, AttrsOwner {
|
||||
FnDef, TypeAliasDef, ConstDef
|
||||
}
|
||||
|
||||
/// Any kind of item that may appear in an extern block
|
||||
///
|
||||
/// // TODO: is the following a fixme?
|
||||
/// extern blocks can also contain MacroCall
|
||||
/// // FIXME: extern blocks can also contain MacroCall
|
||||
enum ExternItem: NameOwner, AttrsOwner, VisibilityOwner {
|
||||
FnDef, StaticDef
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user