We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4362297 commit ae7c982Copy full SHA for ae7c982
crates/syntax/src/ast/make.rs
@@ -21,6 +21,10 @@ pub fn ty(text: &str) -> ast::Type {
21
ast_from_text(&format!("impl {} for D {{}};", text))
22
}
23
24
+pub fn assoc_item_list() -> ast::AssocItemList {
25
+ ast_from_text("impl C for D {};")
26
+}
27
+
28
pub fn path_segment(name_ref: ast::NameRef) -> ast::PathSegment {
29
ast_from_text(&format!("use {};", name_ref))
30
0 commit comments