]> git.proxmox.com Git - rustc.git/blame - src/test/ui/coherence/coherence_inherent.old.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / coherence / coherence_inherent.old.stderr
CommitLineData
b7449926 1error[E0599]: no method named `the_fn` found for type `&Lib::TheStruct` in the current scope
0731742a 2 --> $DIR/coherence_inherent.rs:35:11
8faf50e0 3 |
0731742a 4LL | s.the_fn();
e1599b0c 5 | ^^^^^^ method not found in `&Lib::TheStruct`
8faf50e0
XL
6 |
7 = help: items from traits can only be used if the trait is in scope
e74abb32 8 = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
b7449926 9 `use Lib::TheTrait;`
8faf50e0
XL
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0599`.