rust/tests/ui/coherence/coherence_inherent_cc.stderr

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

16 lines
576 B
Plaintext
Raw Normal View History

error[E0599]: no method named `the_fn` found for reference `&TheStruct` in the current scope
--> $DIR/coherence_inherent_cc.rs:23:11
2018-08-08 12:28:26 +00:00
|
2018-12-29 01:13:06 +00:00
LL | s.the_fn();
| ^^^^^^ method not found in `&TheStruct`
2018-08-08 12:28:26 +00:00
|
= help: items from traits can only be used if the trait is in scope
help: trait `TheTrait` which provides `the_fn` is implemented but not in scope; perhaps you want to import it
2021-08-26 18:17:19 +00:00
|
2023-03-18 02:18:39 +00:00
LL + use coherence_inherent_cc_lib::TheTrait;
2021-08-26 18:17:19 +00:00
|
2018-08-08 12:28:26 +00:00
error: aborting due to 1 previous error
2018-08-08 12:28:26 +00:00
For more information about this error, try `rustc --explain E0599`.