2024-05-27 15:51:21 +00:00
|
|
|
error[E0599]: no function or associated item named `foo` found for struct `Foo<B>` in the current scope
|
2024-05-28 09:34:16 +00:00
|
|
|
--> $DIR/ufc-method-call.rs:27:27
|
2019-05-10 18:22:25 -07:00
|
|
|
|
|
2024-05-27 15:51:21 +00:00
|
|
|
LL | pub struct Foo<T>(T);
|
|
|
|
|
| ----------------- function or associated item `foo` not found for this struct
|
2021-07-17 11:13:50 -07:00
|
|
|
...
|
2019-05-10 18:22:25 -07:00
|
|
|
LL | test::Foo::<test::B>::foo();
|
2024-05-27 15:51:21 +00:00
|
|
|
| ^^^ function or associated item not found in `Foo<B>`
|
|
|
|
|
|
|
|
|
|
|
= note: the function or associated item was found for
|
|
|
|
|
- `Foo<A>`
|
2019-05-10 18:22:25 -07:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2019-05-10 18:22:25 -07:00
|
|
|
|
2024-05-27 15:51:21 +00:00
|
|
|
For more information about this error, try `rustc --explain E0599`.
|