rust/tests/ui/coroutine/coroutine-in-orphaned-anon-const.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
213 B
Rust
Raw Permalink Normal View History

2024-04-15 21:21:42 -05:00
//@ edition:2021
trait X {
fn test() -> Self::Assoc<{ async {} }>;
//~^ ERROR associated type `Assoc` not found for `Self`
//~| ERROR associated type `Assoc` not found for `Self`
}
pub fn main() {}