blob: cb1e90923e75d9b0935b224cfa3cdf0bea4901d8 (
plain)
1
2
3
4
5
6
7
8
9
|
//@ 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() {}
|