diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2025-01-18 00:30:50 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2025-01-18 00:30:50 +0000 |
| commit | 3e99055c4099f0ccb3e5ce5768c32af57d48c79b (patch) | |
| tree | a3ba8c2fdd4d3c7701cf3a5600108f9262fb422d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | bcd0683e5dce1945b5d940714742e7502883bb5c (diff) | |
| download | rust-3e99055c4099f0ccb3e5ce5768c32af57d48c79b.tar.gz rust-3e99055c4099f0ccb3e5ce5768c32af57d48c79b.zip | |
Add test for construction of struct with private field with default value
```
error[E0451]: field `beta` of struct `Alpha` is private
--> $DIR/visibility.rs:11:37
|
LL | let x = crate::foo::Alpha { .. };
| ^^ field `beta` is private
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
