> This is fixed by adding "use some_mod::SomeTrait" at the start of > some_use.rs. It's as though traits need to be in the same scope as > code that expects to make use of their behaviour (where I'd expect the > behaviour would be associated with the implementation for the "self" > type). > > My question is: is this intended behaviour? If not, what's the > expected behaviour & is there an outstanding issue for this?
Yes, I believe this is fully intended behaviour. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev