@@ -79,18 +79,18 @@ private ItemNode getAChildSuccessor(ItemNode item, string name, SuccessorKind ki
79
79
}
80
80
81
81
/**
82
- * Holds if `n` is superceded by an attribute macro expansion. That is, `n` is
82
+ * Holds if `n` is superseded by an attribute macro expansion. That is, `n` is
83
83
* an item or a transitive child of an item with an attribute macro expansion.
84
84
*/
85
- predicate supercededByAttributeMacroExpansion ( AstNode n ) {
85
+ predicate supersededByAttributeMacroExpansion ( AstNode n ) {
86
86
n .( Item ) .hasAttributeMacroExpansion ( )
87
87
or
88
88
exists ( AstNode parent |
89
89
n .getParentNode ( ) = parent and
90
- supercededByAttributeMacroExpansion ( parent ) and
90
+ supersededByAttributeMacroExpansion ( parent ) and
91
91
// Don't exclude expansions themselves as they supercede other nodes.
92
92
not n = parent .( Item ) .getAttributeMacroExpansion ( ) and
93
- // Don't consider attributes themselves to be superceded . E.g., in `#[a] fn
93
+ // Don't consider attributes themselves to be superseded . E.g., in `#[a] fn
94
94
// f() {}` the macro expansion supercedes `fn f() {}` but not `#[a]`.
95
95
not n instanceof Attr
96
96
)
@@ -175,8 +175,8 @@ predicate supercededByAttributeMacroExpansion(AstNode n) {
175
175
*/
176
176
abstract class ItemNode extends Locatable {
177
177
ItemNode ( ) {
178
- // Exclude items that are superceded by the expansion of an attribute macro.
179
- not supercededByAttributeMacroExpansion ( this )
178
+ // Exclude items that are superseded by the expansion of an attribute macro.
179
+ not supersededByAttributeMacroExpansion ( this )
180
180
}
181
181
182
182
/** Gets the (original) name of this item. */
0 commit comments