mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Convert to TODOs to FIXMEs as per matklad
This commit is contained in:
parent
55a29982c0
commit
65b380fa8d
2 changed files with 4 additions and 8 deletions
|
@ -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 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
|||
|
||||
/// 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 a new issue