fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
568 B17 linesraw
1error[E0609]: no field `trace` on type `&T`
2  --> $DIR/issue-31011.rs:3:17
3   |
4LL |         if $ctx.trace {
5   |                 ^^^^^
6...
7LL | fn wrap<T>(context: &T) -> ()
8   |         - type parameter 'T' declared here
9LL | {
10LL |     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
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0609`.