File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Type coercions
2
2
3
- Coercions are defined in [ RFC 401] . A coercion is implicit and has no syntax.
3
+ Coercions are defined in [ RFC 401] . [ RFC 1558] then expanded on that.
4
+ A coercion is implicit and has no syntax.
4
5
5
6
[ RFC 401 ] : https://github.com/rust-lang/rfcs/blob/master/text/0401-coercions.md
7
+ [ RFC 1558 ] : https://github.com/rust-lang/rfcs/blob/master/text/1558-closure-to-fn-coercion.md
6
8
7
9
## Coercion sites
8
10
@@ -143,3 +145,5 @@ Coercion is allowed between the following types:
143
145
In the future, coerce_inner will be recursively extended to tuples and
144
146
structs. In addition, coercions from sub-traits to super-traits will be
145
147
added. See [ RFC 401] for more details.
148
+
149
+ * Non capturing closures to ` fn ` pointers
You can’t perform that action at this time.
0 commit comments