@@ -4,7 +4,7 @@ The following is a summary of changes that only apply to code compiled with
44the 2018 edition compared to the 2015 edition.
55
66## Rust
7- - [ Non-lexical lifetimes] .
7+ - [ Non-lexical lifetimes] & nbsp ; (future inclusion planned for 2015 edition)
88- [ At most once] ` ? ` macro repetition operator.
99- [ Path changes] :
1010 - ` use ` declarations must begin with:
@@ -14,7 +14,8 @@ the 2018 edition compared to the 2015 edition.
1414 - An external crate name.
1515 - ` :: ` – must be followed by an external crate name. This is required
1616 if an external crate has the same name as an in-scope item, to catch
17- possible ambiguities with future module changes.
17+ possible ambiguities with [ uniform paths]   ; (which is planned for
18+ inclusion soon [ #55618 ] ).
1819 - Paths in ` pub(in path) ` visibility modifiers must start with ` crate ` ,
1920 ` self ` , or ` super ` .
2021- [ Anonymous trait function parameters] are not allowed.
@@ -34,6 +35,7 @@ the 2018 edition compared to the 2015 edition.
3435- ` cargo install ` for the current directory is no longer allowed, you must
3536 specify ` cargo install --path . ` to install the current package.
3637
38+ [ #55618 ] : https://github.com/rust-lang/rust/issues/55618
3739[ Anonymous trait function parameters ] : rust-2018/trait-system/no-anon-params.html
3840[ At most once ] : rust-2018/macros/at-most-once.html
3941[ Non-lexical lifetimes ] : rust-2018/ownership-and-lifetimes/non-lexical-lifetimes.html
@@ -44,4 +46,5 @@ the 2018 edition compared to the 2015 edition.
4446[ reserved keywords ] : https://doc.rust-lang.org/reference/keywords.html#reserved-keywords
4547[ strict keyword ] : https://doc.rust-lang.org/reference/keywords.html#strict-keywords
4648[ tyvar_behind_raw_pointer ] : https://github.com/rust-lang/rust/issues/46906
49+ [ uniform paths ] : rust-2018/module-system/path-clarity.html#uniform-paths
4750[ weak keyword ] : https://doc.rust-lang.org/reference/keywords.html#weak-keywords
0 commit comments