rust/src/test
bors 898f36c83c Auto merge of #65153 - da-x:issue-58017, r=petrochenkov
Improve message when attempting to instantiate tuple structs with private fields

Fixes #58017, fixes #39703.

```
error[E0603]: tuple struct `Error` is private
  --> main.rs:22:16
   |
2  |     pub struct Error(usize, pub usize, usize);
   |                      -----             ----- field is private
   |                      |
   |                      field is private
...
22 |     let x = a::Error(3, 1, 2);
   |                ^^^^^
   |
   = note: a tuple struct constructor is private if any of its fields is private
```
2019-10-10 19:40:48 +00:00
..
assembly
auxiliary
codegen
codegen-units
compile-fail
debuginfo
incremental
mir-opt Revert "Make into schedule drop for the destination" 2019-10-09 21:13:18 +01:00
pretty
run-fail
run-make
run-make-fulldeps
run-pass-valgrind
rustdoc
rustdoc-js
rustdoc-js-std
rustdoc-ui
rustfix
ui Auto merge of #65153 - da-x:issue-58017, r=petrochenkov 2019-10-10 19:40:48 +00:00
ui-fulldeps
COMPILER_TESTS.md