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