os-rust/src/test/ui/coherence/coherence_inherent_cc.stderr

14 lines
580 B
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0599]: no method named `the_fn` found for type `&coherence_inherent_cc_lib::TheStruct` in the current scope
2018-12-25 08:56:47 -07:00
--> $DIR/coherence_inherent_cc.rs:23:11
2018-08-08 14:28:26 +02:00
|
LL | s.the_fn(); //~ ERROR no method named `the_fn` found
| ^^^^^^
|
= help: items from traits can only be used if the trait is in scope
= note: the following trait is implemented but not in scope, perhaps add a `use` for it:
`use coherence_inherent_cc_lib::TheTrait;`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.