fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
449 B15 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
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0609`.