mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
18 lines
584 B
Plaintext
18 lines
584 B
Plaintext
error[E0609]: no field `trace` on type `&T`
|
|
--> $DIR/issue-31011.rs:3: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`.
|