Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
lazy-type-alias
/
unsatisfied-bounds-type-alias-body.rs
blob: c798e4e436824e289d368e443e6731586864f306 [
file
] [
log
] [
blame
]
// Test that we check lazy type aliases for well-formedness.
#![
feature
(
lazy_type_alias
)]
#![
allow
(
incomplete_features
)]
type
Alias
<
T
>
=
<
T
as
std
::
ops
::
Mul
>::
Output
;
//~ ERROR cannot multiply `T` by `T`
fn
main
()
{}