]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/where-allowed-2.rs
Rollup merge of #96609 - ibraheemdev:arc-downcast-unchecked, r=m-ou-se
[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() {}