Files
rust/tests/ui/privacy/ufc-method-call.different_name.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
584 B
Plaintext
Raw Normal View History

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
|
LL | pub struct Foo<T>(T);
| ----------------- function or associated item `foo` not found for this struct
...
2019-05-10 18:22:25 -07:00
LL | test::Foo::<test::B>::foo();
| ^^^ 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
error: aborting due to 1 previous error
2019-05-10 18:22:25 -07:00
For more information about this error, try `rustc --explain E0599`.