rust/tests/ui/infinite/infinite-alias.rs
2024-02-16 20:02:50 +00:00

10 lines
180 B
Rust

//@ 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() {}