rust/tests/ui/infinite/infinite-alias.rs

10 lines
179 B
Rust
Raw Normal View History

2023-02-17 10:19:13 -06:00
// aux-build: alias.rs
// regression test for 108160
extern crate alias;
use alias::Wrapper;
struct Rec(Wrapper<Rec>); //~ ERROR recursive type `Rec` has infinite
fn main() {}