]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-trait/where-allowed-2.rs
Rollup merge of #106799 - scottmcm:remove-unused-generics, r=cuviper
[rust.git] / tests / 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() {}