File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,15 @@ Language
7
7
- [ You can now use the ` ? ` operator in macro definitions.] [ 56245 ] The ` ? `
8
8
operator allows you to specify zero or one repetitions similar to the ` * ` and
9
9
` + ` 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
+ ```
10
19
11
20
#### All editions
12
21
- [ You can now match against ` PhantomData<T> ` types.] [ 55837 ]
@@ -179,6 +188,7 @@ Compatibility Notes
179
188
[ 56365 ] : https://github.com/rust-lang/rust/pull/56365/
180
189
[ 56366 ] : https://github.com/rust-lang/rust/pull/56366/
181
190
[ 56395 ] : https://github.com/rust-lang/rust/pull/56395/
191
+ [ 56759 ] : https://github.com/rust-lang/rust/pull/56759/
182
192
[ cargo/6218 ] : https://github.com/rust-lang/cargo/pull/6218/
183
193
[ cargo/6242 ] : https://github.com/rust-lang/cargo/pull/6242/
184
194
[ `CStr::as_ptr` ] : https://doc.rust-lang.org/std/ffi/struct.CStr.html#method.as_ptr
You can’t perform that action at this time.
0 commit comments