Skip to content

Commit

Permalink
Merge pull request #85 from joshtriplett/please-test-uniform-paths
Browse files Browse the repository at this point in the history
Ask people to test the new uniform paths variant when transitioning
  • Loading branch information
aturon committed Aug 15, 2018
2 parents 94e251a + 5af4027 commit 84a3764
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/editions/transitioning-your-code-to-a-new-edition.md
Expand Up @@ -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)]
```

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
Expand Down
4 changes: 4 additions & 0 deletions src/rust-2018/path-clarity.md
Expand Up @@ -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
`#![feature(rust_2018_preview,uniform_paths)]` at the top of your `lib.rs` or
`main.rs`.

Here's a brief summary:

* `extern crate` is no longer needed
Expand Down

0 comments on commit 84a3764

Please sign in to comment.