fork/rust

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

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

master
458 B15 linesraw
1error[E0425]: cannot find function `len` in this scope
2  --> $DIR/suggest-method-on-call-with-macro-rcvr.rs:4:17
3   |
4LL |     let hello = len(vec![]);
5   |                 ^^^ not found in this scope
6   |
7help: use the `.` operator to call the method `len` on `&Vec<_>`
8   |
9LL -     let hello = len(vec![]);
10LL +     let hello = vec![].len();
11   |
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0425`.