File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -1588,6 +1588,20 @@ fn bar(foo: Foo) -> u32 {
1588
1588
```
1589
1589
"## ,
1590
1590
1591
+ E0183 : r##"
1592
+ Fn* traits (`unboxed closures`) are experimental.
1593
+
1594
+ Functions must have exactly one (non self) argument, a tuple representing
1595
+ the argument list [1]. This feature can be enabled with:
1596
+
1597
+ ```
1598
+ #![feature(unboxed_closures)]
1599
+ ```
1600
+
1601
+ [1]: https://doc.rust-lang.org/unstable-book/language-features/unboxed-closures.html
1602
+ [iss29625]: https://github.com/rust-lang/rust/issues/26925
1603
+ "## ,
1604
+
1591
1605
E0184 : r##"
1592
1606
Explicitly implementing both Drop and Copy for a type is currently disallowed.
1593
1607
This feature can make some sense in theory, but the current implementation is
@@ -4671,7 +4685,6 @@ register_diagnostics! {
4671
4685
// E0173, // manual implementations of unboxed closure traits are experimental
4672
4686
// E0174,
4673
4687
// E0182, // merged into E0229
4674
- E0183 ,
4675
4688
// E0187, // can't infer the kind of the closure
4676
4689
// E0188, // can not cast an immutable reference to a mutable pointer
4677
4690
// E0189, // deprecated: can only cast a boxed pointer to a boxed object
You can’t perform that action at this time.
0 commit comments