fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
361 B15 linesraw
1error[E0603]: struct `S` is private
2  --> $DIR/issue-10545.rs:6:14
3   |
4LL | fn foo(_: a::S) {
5   |              ^ this struct is private
6   |
7note: the struct `S` is defined here
8  --> $DIR/issue-10545.rs:2:5
9   |
10LL |     struct S;
11   |     ^^^^^^^^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0603`.