blob: 462508f306ef34f4b1f3de692f996a79a3d894e8 (
plain)
1
2
3
4
5
6
7
8
|
//! Ideally, these tests would go in `where-allowed.rs`, but we bail out
//! too early to display them.
use std::fmt::Debug;
// Disallowed
fn in_adt_in_return() -> Vec<impl Debug> { panic!() } //~ ERROR cannot resolve opaque type
fn main() {}
|