Skip to content

Commit 79b03c0

Browse files
Add back the E0066 error code long explanation
1 parent a846791 commit 79b03c0

File tree

1 file changed

+9
-0
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#### Note: this error code is no longer emitted by the compiler.
2+
3+
Box placement expressions (like C++'s "placement new") do not yet support any
4+
place expression except the exchange heap (i.e. `std::boxed::HEAP`).
5+
Furthermore, the syntax is changing to use `in` instead of `box`. See [RFC 470]
6+
and [RFC 809] for more details.
7+
8+
[RFC 470]: https://github.com/rust-lang/rfcs/pull/470
9+
[RFC 809]: https://github.com/rust-lang/rfcs/pull/809

0 commit comments

Comments
 (0)