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