]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/where-allowed-2.rs
Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup
[rust.git] / src / test / ui / impl-trait / where-allowed-2.rs
1 //! Ideally, these tests would go in `where-allowed.rs`, but we bail out
2 //! too early to display them.
3 use std::fmt::Debug;
4
5 // Disallowed
6 fn in_adt_in_return() -> Vec<impl Debug> { panic!() } //~ ERROR cannot resolve opaque type
7
8 fn main() {}