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
561 B17 linesraw
1error[E0609]: no field `trace` on type `&T`
2  --> $DIR/issue-31011.rs:3:17
3   |
4LL |         if $ctx.trace {
5   |                 ^^^^^
6...
7LL | fn wrap<T>(context: &T) -> ()
8   |         - type parameter 'T' declared here
9LL | {
10LL |     log!(context, "entered wrapper");
11   |     --------------------------------- in this macro invocation
12   |
13   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0609`.