diff options
| author | Aaron Power <Aaronepower@users.noreply.github.com> | 2019-01-10 23:07:38 +0100 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2019-01-11 16:53:48 +0100 |
| commit | 70b641d08920ee7e7ebb5563b9ecafb02805ecd7 (patch) | |
| tree | 2230748d891a5ecb74f75e9c9e4d79c2a2bd93f8 | |
| parent | 696ecd92b3a05ed8fc81e140fca1a05b7c1a6ce4 (diff) | |
| download | rust-70b641d08920ee7e7ebb5563b9ecafb02805ecd7.tar.gz rust-70b641d08920ee7e7ebb5563b9ecafb02805ecd7.zip | |
Update RELEASES.md
| -rw-r--r-- | RELEASES.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/RELEASES.md b/RELEASES.md index 8179132c355..e82a8a613b9 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -7,6 +7,15 @@ Language - [You can now use the `?` operator in macro definitions.][56245] The `?` operator allows you to specify zero or one repetitions similar to the `*` and `+` operators. +- [Module paths with no leading keyword like `super`, `self`, or `crate`, will + now always resolve to the item (`enum`, `struct`, etc.) available in the + module if present, before resolving to a external crate or an item the prelude.][56759] + E.g. + ```rust + enum Color { Red, Green, Blue } + + use Color::*; + ``` #### All editions - [You can now match against `PhantomData<T>` types.][55837] @@ -179,6 +188,7 @@ Compatibility Notes [56365]: https://github.com/rust-lang/rust/pull/56365/ [56366]: https://github.com/rust-lang/rust/pull/56366/ [56395]: https://github.com/rust-lang/rust/pull/56395/ +[56759]: https://github.com/rust-lang/rust/pull/56759/ [cargo/6218]: https://github.com/rust-lang/cargo/pull/6218/ [cargo/6242]: https://github.com/rust-lang/cargo/pull/6242/ [`CStr::as_ptr`]: https://doc.rust-lang.org/std/ffi/struct.CStr.html#method.as_ptr |
