]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-56175.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-56175.stderr
CommitLineData
72b1a166
FG
1error[E0599]: no method named `trait_method` found for struct `FooStruct` in the current scope
2 --> $DIR/issue-56175.rs:5:33
3 |
4LL | reexported_trait::FooStruct.trait_method();
5 | ^^^^^^^^^^^^ method not found in `FooStruct`
6 |
7 = help: items from traits can only be used if the trait is in scope
8help: the following trait is implemented but not in scope; perhaps add a `use` for it:
9 |
10LL | use reexported_trait::Trait;
11 |
12
13error[E0599]: no method named `trait_method_b` found for struct `FooStruct` in the current scope
14 --> $DIR/issue-56175.rs:7:33
15 |
16LL | reexported_trait::FooStruct.trait_method_b();
17 | ^^^^^^^^^^^^^^ method not found in `FooStruct`
18 |
19 = help: items from traits can only be used if the trait is in scope
20help: the following trait is implemented but not in scope; perhaps add a `use` for it:
21 |
22LL | use reexported_trait::TraitBRename;
23 |
24
25error: aborting due to 2 previous errors
26
27For more information about this error, try `rustc --explain E0599`.