summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-04-07 00:00:25 +0200
committerGitHub <noreply@github.com>2023-04-07 00:00:25 +0200
commite70818983b634ecccfc20d4d8266d695dba1c335 (patch)
treec4217915665c266a8695ab9e259d56492d93fef0 /tests/rustdoc-js-std/parser-errors.js
parent17ed06aad2542f59221f40b7c23a3b7ef771af1c (diff)
parent8ed2dc0bcee8c7ca43d2b6a66c9743cacf8dcddf (diff)
downloadrust-e70818983b634ecccfc20d4d8266d695dba1c335.tar.gz
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 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions