mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +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 {}
|
impl ast::VisibilityOwner for ModuleItem {}
|
||||||
/// Any kind of item that may appear in an impl block
|
/// Any kind of item that may appear in an impl block
|
||||||
///
|
///
|
||||||
/// // TODO: is the following a fixme?
|
/// // FIXME: impl blocks can also contain MacroCall
|
||||||
/// impl blocks can also contain MacroCall
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
pub enum AssocItem {
|
pub enum AssocItem {
|
||||||
FnDef(FnDef),
|
FnDef(FnDef),
|
||||||
|
@ -2662,8 +2661,7 @@ impl ast::NameOwner for AssocItem {}
|
||||||
impl ast::AttrsOwner for AssocItem {}
|
impl ast::AttrsOwner for AssocItem {}
|
||||||
/// Any kind of item that may appear in an extern block
|
/// Any kind of item that may appear in an extern block
|
||||||
///
|
///
|
||||||
/// // TODO: is the following a fixme?
|
/// // FIXME: extern blocks can also contain MacroCall
|
||||||
/// extern blocks can also contain MacroCall
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
pub enum ExternItem {
|
pub enum ExternItem {
|
||||||
FnDef(FnDef),
|
FnDef(FnDef),
|
||||||
|
|
|
@ -2150,16 +2150,14 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
||||||
|
|
||||||
/// Any kind of item that may appear in an impl block
|
/// Any kind of item that may appear in an impl block
|
||||||
///
|
///
|
||||||
/// // TODO: is the following a fixme?
|
/// // FIXME: impl blocks can also contain MacroCall
|
||||||
/// impl blocks can also contain MacroCall
|
|
||||||
enum AssocItem: NameOwner, AttrsOwner {
|
enum AssocItem: NameOwner, AttrsOwner {
|
||||||
FnDef, TypeAliasDef, ConstDef
|
FnDef, TypeAliasDef, ConstDef
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Any kind of item that may appear in an extern block
|
/// Any kind of item that may appear in an extern block
|
||||||
///
|
///
|
||||||
/// // TODO: is the following a fixme?
|
/// // FIXME: extern blocks can also contain MacroCall
|
||||||
/// extern blocks can also contain MacroCall
|
|
||||||
enum ExternItem: NameOwner, AttrsOwner, VisibilityOwner {
|
enum ExternItem: NameOwner, AttrsOwner, VisibilityOwner {
|
||||||
FnDef, StaticDef
|
FnDef, StaticDef
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue