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
404 B15 linesraw
1error[E0603]: trait `Foo` is private
2  --> $DIR/issue-11593.rs:7:24
3   |
4LL | impl private_trait_xc::Foo for Bar {}
5   |                        ^^^ this trait is private
6   |
7note: the trait `Foo` is defined here
8  --> $DIR/auxiliary/private-trait-xc.rs:1:1
9   |
10LL | trait Foo {}
11   | ^^^^^^^^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0603`.