]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-31011.stderr
Auto merge of #78066 - bugadani:wat, r=jonas-schievink
[rust.git] / src / test / ui / issues / issue-31011.stderr
1 error[E0609]: no field `trace` on type `&T`
2   --> $DIR/issue-31011.rs:3:17
3    |
4 LL |         if $ctx.trace {
5    |                 ^^^^^
6 ...
7 LL | fn wrap<T>(context: &T) -> ()
8    |         - type parameter 'T' declared here
9 LL | {
10 LL |     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
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0609`.