Skip to content

Commit 359e6bf

Browse files
authored
Update RELEASES.md
1 parent 521031f commit 359e6bf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

RELEASES.md

+10
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ Language
77
- [You can now use the `?` operator in macro definitions.][56245] The `?`
88
operator allows you to specify zero or one repetitions similar to the `*` and
99
`+` operators.
10+
- [Module paths with no leading keyword like `super`, `self`, or `crate`, will
11+
now always resolve to the item (`enum`, `struct`, etc.) available in the
12+
module if present, before resolving to a external crate or an item the prelude.][56759]
13+
E.g.
14+
```rust
15+
enum Color { Red, Green, Blue }
16+
17+
use Color::*;
18+
```
1019

1120
#### All editions
1221
- [You can now match against `PhantomData<T>` types.][55837]
@@ -179,6 +188,7 @@ Compatibility Notes
179188
[56365]: https://github.com/rust-lang/rust/pull/56365/
180189
[56366]: https://github.com/rust-lang/rust/pull/56366/
181190
[56395]: https://github.com/rust-lang/rust/pull/56395/
191+
[56759]: https://github.com/rust-lang/rust/pull/56759/
182192
[cargo/6218]: https://github.com/rust-lang/cargo/pull/6218/
183193
[cargo/6242]: https://github.com/rust-lang/cargo/pull/6242/
184194
[`CStr::as_ptr`]: https://doc.rust-lang.org/std/ffi/struct.CStr.html#method.as_ptr

0 commit comments

Comments
 (0)