]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/where-allowed-2.rs
Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into sync_cg_clif-2022-05-15
[rust.git] / src / test / ui / impl-trait / where-allowed-2.rs
1 use std::fmt::Debug;
2
3 fn in_adt_in_return() -> Vec<impl Debug> { panic!() }
4 //~^ ERROR type annotations needed
5
6 fn main() {}