-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ask people to test the new uniform paths variant when transitioning #85
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,18 @@ require a Cargo.toml change to enable (described in the sections below). Also | |
note that during the time the preview is available, we may continue to add/enable | ||
new features with this flag! | ||
|
||
For Rust 2018 edition preview 2, we're also testing a [new module path | ||
variant](rust-2018/path-clarity.html), "uniform paths", which we'd like to get | ||
further testing and feedback on. Please try it out, by adding the following to | ||
your `lib.rs` or `main.rs`: | ||
|
||
```rust | ||
#![feature(rust_2018_preview,uniform_paths)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Comma between the features. |
||
``` | ||
|
||
The release of Rust 2018 will stabilize one of the two module path variants and | ||
drop the other. | ||
|
||
[status]: 2018/status.html | ||
|
||
## Fix edition compatibility warnings | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,10 @@ sections call out the differences between the two. We encourage testing of the | |
new "uniform paths" variant introduced in edition preview 2. The release of | ||
Rust 2018 will stabilize one of these two variants and drop the other. | ||
|
||
To test Rust 2018 with the new "uniform paths" variant, put | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "uniform paths" -> |
||
`#![feature(rust_2018_preview,uniform_paths)]` at the top of your `lib.rs` or | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Comma :) |
||
`main.rs`. | ||
|
||
Here's a brief summary: | ||
|
||
* `extern crate` is no longer needed | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"uniform paths" ->
uniform_paths