File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,10 @@ the 2018 edition compared to the 2015 edition.
11
11
- [ Anonymous trait function parameters] are not allowed.
12
12
- [ Trait function parameters] may use any irrefutable pattern when the
13
13
function has a body.
14
- - [ ` dyn ` ] is a [ strict keyword] , in 2015 it is a [ weak keyword] .
15
- - ` async ` , ` await ` , and ` try ` are [ reserved keywords] .
14
+ - Keyword changes:
15
+ - [ ` dyn ` ] is a [ strict keyword] [ strict ] , in 2015 it is a [ weak keyword] .
16
+ - ` async ` and ` await ` are [ strict keywords] [ strict ] .
17
+ - ` try ` is a [ reserved keyword] .
16
18
- The following lints are now deny by default:
17
19
- [ tyvar_behind_raw_pointer]
18
20
@@ -28,7 +30,7 @@ the 2018 edition compared to the 2015 edition.
28
30
[ Path changes ] : module-system/path-clarity.md
29
31
[ Trait function parameters ] : https://doc.rust-lang.org/stable/reference/items/traits.html#parameter-patterns
30
32
[ `dyn` ] : trait-system/dyn-trait-for-trait-objects.md
31
- [ reserved keywords ] : https://doc.rust-lang.org/reference/keywords.html#reserved-keywords
32
- [ strict keyword ] : https://doc.rust-lang.org/reference/keywords.html#strict-keywords
33
+ [ reserved keyword ] : https://doc.rust-lang.org/reference/keywords.html#reserved-keywords
34
+ [ strict ] : https://doc.rust-lang.org/reference/keywords.html#strict-keywords
33
35
[ tyvar_behind_raw_pointer ] : https://github.com/rust-lang/rust/issues/46906
34
36
[ weak keyword ] : https://doc.rust-lang.org/reference/keywords.html#weak-keywords
You can’t perform that action at this time.
0 commit comments