summary refs log tree commit diff
path: root/tests/ui/impl-trait/issues/issue-79099.rs
blob: 757e61fb631eae45395b58cd76ac7f90732c0c9c (plain)
1
2
3
4
5
6
7
8
9
10
struct Bug {
    V1: [(); {
        let f: impl core::future::Future<Output = u8> = async { 1 };
        //~^ `impl Trait` is not allowed in the type of variable bindings
        //~| expected identifier
        1
    }],
}

fn main() {}