Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMildly confusing line in getting_started_step_1 #499
Comments
This comment has been minimized.
bronson
commented
Nov 22, 2016
|
And the error is pretty darned confusing:
|
This comment has been minimized.
bronson
commented
Nov 22, 2016
|
Same thing with |
This comment has been minimized.
|
@bronson sorry for the short but still delayed answer; you can find the getting started code at https://github.com/diesel-rs/diesel/tree/master/examples and the website text at https://github.com/sgrif/diesel.rs-website |
This comment has been minimized.
bronson
commented
Nov 30, 2016
|
Thank you, I'll submit PRs there. |
bronson
closed this
Nov 30, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bronson commentedNov 22, 2016
In getting_started_step_1, the instructions say to "add the following four lines to the top of src/lib.rs". Following this literally results in an uncompilable file:
#[macro_use] extern crate diesel;needs to come before#[macro_use] extern crate diesel_codegen;of course.I'd submit a PR to add some wording but I didn't see where the getting-started file was located.
This didn't take long to figure out, just hoping to save others the trouble.