mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
11 lines
312 B
Rust
11 lines
312 B
Rust
//@ 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() {}
|