File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3587,6 +3587,9 @@ site of a :t:`call expression` or a :t:`method call expression`.
3587
3587
The :t: `pattern ` of a :t: `closure parameter ` shall be an
3588
3588
:t: `irrefutable pattern `.
3589
3589
3590
+ :dp: `fls_qPeOL6ZhXsgH `
3591
+ The :t: `[binding]s ` of all :t: `[pattern]s ` of all :t: `[closure parameter]s ` of a :t: `closure expression ` shall not shadow another.
3592
+
3590
3593
:dp: `fls_yn30xuejcfxo `
3591
3594
The :t: `type ` of a :t: `closure expression ` is the unique anonymous
3592
3595
:t: `closure type ` defined by it.
Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ it is an :t:`external function`.
83
83
The :t: `pattern ` of a :t: `function parameter ` shall be an :t: `irrefutable
84
84
pattern `.
85
85
86
+ :dp: `fls_PGDKWK7nPvgw `
87
+ The :t: `[binding]s ` of all :t: `[pattern]s ` of all :t: `[function parameter]s ` of a :t: `function ` shall not shadow another.
88
+
86
89
:dp: `fls_vljy4mm0zca2 `
87
90
A :t: `return type ` is the :t: `type ` of the result a :t: `function ` returns.
88
91
@@ -183,4 +186,3 @@ program. A :t:`main function` is subject to the following restrictions:
183
186
}
184
187
185
188
fn main() {}
186
-
You can’t perform that action at this time.
0 commit comments