]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc/assoc-item-cast.rs
Update unsuspicious file list
[rustc.git] / src / test / rustdoc / assoc-item-cast.rs
CommitLineData
cc61c64b 1#![crate_name = "foo"]
223e47cc 2
cc61c64b
XL
3pub trait Expression {
4 type SqlType;
5}
6
7pub trait AsExpression<T> {
8 type Expression: Expression<SqlType = T>;
9 fn as_expression(self) -> Self::Expression;
10}
11
12// @has foo/type.AsExprOf.html
a2a8927a 13// @has - '//pre[@class="rust typedef"]' 'type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;'
cc61c64b 14pub type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;