librustc: Enforce cross-crate method privacy 

r? @brson