rust/compiler/rustc_resolve
Matthias Krüger e70818983b
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
```
2023-04-07 00:00:25 +02:00
..
src Rollup merge of #110013 - compiler-errors:non-exhaustive-privacy-reason, r=WaffleLapkin 2023-04-07 00:00:25 +02:00
Cargo.toml Upgrade thin-vec from 0.2.9 to 0.2.12. 2023-02-21 11:51:55 +11:00
messages.ftl Deny useing tool paths 2023-04-04 14:10:13 +01:00