Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
14
tests/rustdoc/assoc-item-cast.rs
Normal file
14
tests/rustdoc/assoc-item-cast.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
#![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;
|
Loading…
Add table
Add a link
Reference in a new issue