Convert to TODOs to FIXMEs as per matklad

This commit is contained in:
veetaha 2020-05-12 23:47:45 +03:00
parent 55a29982c0
commit 65b380fa8d
2 changed files with 4 additions and 8 deletions

View File

@ -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),

View File

@ -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
}