4 ms·
Doesn't the "small Rust application" at the bottom of the page lack an "extern crate ferris_says;"? I know very little about Rust, but I cannot get the example
by riccardomc 8y ago
Doesn't the "small Rust application" at the bottom of the page lack an "extern crate ferris_says;"? I know very little about Rust, but I cannot get the example to work without that...
- steveklabnik 8y agoRust 2018 does not require extern crate anymore (except in certain very limited circumstances); when this page goes live, that will work. Or you can try it out on beta.
- Twisol 8y agoFor those curious (like me), this is described in the upcoming Edition Guide at https://rust-lang-nursery.github.io/edition-guide/rust-2018/module-system/path-clarity.html https://rust-lang-nursery.github.io/edition-guide/rust-2018/... .
- steveklabnik 8y agoAnd the exceptions, yet to be described in the guide: https://github.com/rust-lang-nursery/edition-guide/issues/121 https://github.com/rust-lang-nursery/edition-guide/issues/12...