Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
ui
/
associated-type-bounds
/
bad-universal-in-dyn-in-where-clause.rs
blob: 8cab1f66c2709348b1ec2ef4c3c56b8bfee22278 [
file
] [
log
] [
blame
]
#![
feature
(
associated_type_bounds
)]
trait
B
{
type
AssocType
;
}
fn
f
()
where
dyn
for
<
'j> B<AssocType: '
j
>:,
//~^ ERROR associated type bounds are only allowed in where clauses and function signatures
{
}
fn
main
()
{}