fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
391 B13 linesraw
1error: type `for<'r> fn(&'r foo::S) {foo::S::f}` is private
2  --> $DIR/impl_items.rs:12:23
3   |
4LL |         let _: () = S.f();
5   |                       ^ private type
6...
7LL |     foo::m!();
8   |     ---------- in this macro invocation
9   |
10   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
11
12error: aborting due to previous error
13