]>
Commit | Line | Data |
---|---|---|
064997fb FG |
1 | error[E0599]: no method named `method` found for type parameter `Hello` in the current scope |
2 | --> $DIR/point-at-type-parameter-definition.rs:13:17 | |
3 | | | |
4 | LL | impl<Hello> Trait for Vec<Hello> { | |
5 | | ----- method `method` not found for this type parameter | |
6 | LL | fn do_stuff(&self) { | |
7 | LL | self[0].method(); | |
8 | | ^^^^^^ method not found in `Hello` | |
9 | ||
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0599`. |