mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-02 09:32:46 +00:00
11 lines
311 B
Rust
11 lines
311 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() {}
|