![rust compiler output:
```
error[E0425]: cannot find function `len` in this scope
--> /home/gh-compiler-errors/test.rs:3:13
|
3 | let x = len([1, 2, 3]);
| ^^^ not found in this scope
|
help: use the `.` operator to call the method `len` on `&[{integer}]`
|
3 - let x = len([1, 2, 3]);
3 + let x = [1, 2, 3].len();
|
```](https://pbs.twimg.com/media/FeSfz41VQAAfWhq.png?name=small&format=webp)
ALT rust compiler output: ``` error[E0425]: cannot find function `len` in this scope --> /home/gh-compiler-errors/test.rs:3:13 | 3 | let x = len([1, 2, 3]); | ^^^ not found in this scope | help: use the `.` operator to call the method `len` on `&[{integer}]` | 3 - let x = len([1, 2, 3]); 3 + let x = [1, 2, 3].len(); | ```

ALT Rust code: ``` trait Trait { fn hello<'a: 'a>(&'a self); } impl Trait for () { fn hello<'b: 'b>(&'b self) { println!("Hello, world"); } } trait Foo { fn bar<'c: 'c>(&'c self) -> impl Trait; } impl Foo for () { fn bar<'d: 'd>(&'d self) -> impl Trait { () } } fn call_generically<T: Foo>(t: T) { t.bar().hello(); } fn main() { call_generically(()); } ```






![rust code:
```
fn main() {
let x = len([1, 2, 3]);
}
```](https://pbs.twimg.com/media/FeSffy5VQAAVFND.png?name=small&format=webp)


