1 error[E0599]: no method named `method` found for struct `S` in the current scope
2 --> $DIR/unnamed_pub_trait.rs:13:7
5 | ^^^^^^ method not found in `S`
7 ::: $DIR/auxiliary/unnamed_pub_trait_source.rs:7:23
9 LL | pub trait Tr { fn method(&self); }
10 | ------ the method is available for `S` here
12 = help: items from traits can only be used if the trait is in scope
13 help: the following trait is implemented but not in scope; perhaps add a `use` for it:
15 LL | use unnamed_pub_trait_source::prelude::*; // trait Tr
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0599`.