]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/where-allowed-2.rs
Rollup merge of #94577 - RalfJung:simd-miri, r=scottmcm
[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() {}