Skip to content

Commit

Permalink
Add back the E0066 error code long explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 29, 2019
1 parent a846791 commit 79b03c0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/librustc_error_codes/error_codes/E0066.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#### Note: this error code is no longer emitted by the compiler.

Box placement expressions (like C++'s "placement new") do not yet support any
place expression except the exchange heap (i.e. `std::boxed::HEAP`).
Furthermore, the syntax is changing to use `in` instead of `box`. See [RFC 470]
and [RFC 809] for more details.

[RFC 470]: https://github.com/rust-lang/rfcs/pull/470
[RFC 809]: https://github.com/rust-lang/rfcs/pull/809

0 comments on commit 79b03c0

Please sign in to comment.