summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/assoc-item-cast.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/rustdoc/assoc-item-cast.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/rustdoc/assoc-item-cast.rs b/src/test/rustdoc/assoc-item-cast.rs
deleted file mode 100644
index a409d6413..000000000
--- a/src/test/rustdoc/assoc-item-cast.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-#![crate_name = "foo"]
-
-pub trait Expression {
- type SqlType;
-}
-
-pub trait AsExpression<T> {
- type Expression: Expression<SqlType = T>;
- fn as_expression(self) -> Self::Expression;
-}
-
-// @has foo/type.AsExprOf.html
-// @has - '//pre[@class="rust typedef"]' 'type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;'
-pub type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;