These are chat archives for rust-lang/rust
unimplemented!()with function that return
impl Future, sample code is: https://play.rust-lang.org/?gist=a73d4e38bb22bae7a61349a9b8804595&version=stable&mode=debug&edition=2015
impl Traitsort of infers output type for you, but there's nothing to infer out of
I am confused on how to use 'mod/use' I have:
src/foo/bar/cat/dog.rs <-- has """const x = 2"
Now, from main.rs, how do I refer to 'x' from foo/bar/cat/dog.rs ?
mod foo;in main.rs
mod foo;and so on