#![crate_name = "foo"] // ignore-tidy-linelength pub trait Expression { type SqlType; } pub trait AsExpression { type Expression: Expression; fn as_expression(self) -> Self::Expression; } // @has foo/type.AsExprOf.html // @has - '//*[@class="rust typedef"]' 'type AsExprOf = >::Expression;' pub type AsExprOf = >::Expression;