You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trouble resolving associated functions from a non-trait impl within a different module #9584
useB::*;pubstructS;modB{implsuper::S{pubfnnew() -> super::S{super::S}}}fnmain(){let s = S::new();}
Error:
test.rs:17:9: 17:15 error: unresolved name
test.rs:17 let s = S::new();
^~~~~~
test.rs:17:9: 17:15 error: use of undeclared module `S`
test.rs:17 let s = S::new();
^~~~~~
test.rs:17:9: 17:15 error: unresolved name `S::new`.
test.rs:17 let s = S::new();
^~~~~~
error: aborting due to 3 previous errors
Activity
flaper87 commentedon Jan 29, 2014
visiting for triage. still reproducible.
apoelstra commentedon Sep 16, 2014
This is fixed by #17163, recommend close.
alexcrichton commentedon Sep 16, 2014
Thanks @apoelstra!
Auto merge of rust-lang#9584 - royrustdev:implicit_saturating_sub, r=…