Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
const-generics
/
not_wf_param_in_rpitit.rs
blob: cb1e90923e75d9b0935b224cfa3cdf0bea4901d8 [
file
] [
log
] [
blame
]
//@ edition:2021
trait
Trait
<
const
N
:
dyn
Trait
=
bar
>
{
//~^ ERROR: cannot find value `bar` in this scope
//~| ERROR: cycle detected when computing type of `Trait::N`
async
fn
a
()
{}
}
fn
main
()
{}