fork/rust

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

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

master
548 B17 linesraw
1error[E0599]: no method named `kind` found for struct `InferOk` in the current scope
2  --> $DIR/field-has-method.rs:19:15
3   |
4LL | struct InferOk<T> {
5   | ----------------- method `kind` not found for this struct
6...
7LL |     let k = i.kind();
8   |               ^^^^ method not found in `InferOk<Ty>`
9   |
10help: one of the expressions' fields has a method of the same name
11   |
12LL |     let k = i.value.kind();
13   |               ++++++
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0599`.