mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-19 18:10:25 +00:00
Rename *Owner
traits to Has*
This commit is contained in:
parent
a28c5d7311
commit
b6ed91a6de
101 changed files with 393 additions and 397 deletions
|
@ -30,8 +30,8 @@ pub use self::{
|
|||
QuoteOffsets, Radix,
|
||||
},
|
||||
traits::{
|
||||
ArgListOwner, AttrsOwner, CommentIter, DocCommentsOwner, GenericParamsOwner, LoopBodyOwner,
|
||||
ModuleItemOwner, NameOwner, TypeBoundsOwner, VisibilityOwner,
|
||||
CommentIter, HasArgList, HasAttrs, HasDocComments, HasGenericParams, HasLoopBody,
|
||||
HasModuleItem, HasName, HasTypeBounds, HasVisibility,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -118,7 +118,7 @@ mod support {
|
|||
|
||||
#[test]
|
||||
fn assert_ast_is_object_safe() {
|
||||
fn _f(_: &dyn AstNode, _: &dyn NameOwner) {}
|
||||
fn _f(_: &dyn AstNode, _: &dyn HasName) {}
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue