]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-31011.stderr
ab041594863ce051f9a43692bb5d67727bf3f405
[rustc.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 the macro `log` (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`.