diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-04-07 00:00:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-07 00:00:25 +0200 |
| commit | e70818983b634ecccfc20d4d8266d695dba1c335 (patch) | |
| tree | c4217915665c266a8695ab9e259d56492d93fef0 /compiler/rustc_codegen_llvm/src | |
| parent | 17ed06aad2542f59221f40b7c23a3b7ef771af1c (diff) | |
| parent | 8ed2dc0bcee8c7ca43d2b6a66c9743cacf8dcddf (diff) | |
| download | rust-e70818983b634ecccfc20d4d8266d695dba1c335.tar.gz rust-e70818983b634ecccfc20d4d8266d695dba1c335.zip | |
Rollup merge of #110013 - compiler-errors:non-exhaustive-privacy-reason, r=WaffleLapkin
Label `non_exhaustive` attribute on privacy errors from non-local items Label when an ADT is `non_exhaustive` and we get a privacy error, help with confusion in a case like this: ```rust #[non_exhaustive] pub struct Foo; // other crate let x = Foo; //~^ ERROR unit struct `Foo` is private ```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
