rust/tests/ui/resolve/suggest-constructor-cycle-error.rs

11 lines
312 B
Rust
Raw Permalink Normal View History

//@ aux-build:suggest-constructor-cycle-error.rs
// Regression test for https://github.com/rust-lang/rust/issues/119625
extern crate suggest_constructor_cycle_error as a;
const CONST_NAME: a::Uuid = a::Uuid(());
//~^ ERROR: cannot initialize a tuple struct which contains private fields [E0423]
fn main() {}