]> git.lizzy.rs Git - rust.git/commit
Auto merge of #54271 - petrochenkov:nolegder, r=eddyb,alexcrichton
authorbors <bors@rust-lang.org>
Fri, 7 Dec 2018 00:48:00 +0000 (00:48 +0000)
committerbors <bors@rust-lang.org>
Fri, 7 Dec 2018 00:48:00 +0000 (00:48 +0000)
commita2fb99bc17527798aeeef1d7ccc61811a9362131
tree1895bf679f871bc0466087f22b54fe1fabdcfb1f
parent5182cc1ca65d05f16ee5e1529707ac6f63233ca9
parent8ab115c21d5309ecf486a517d52deaa56522c823
Auto merge of #54271 - petrochenkov:nolegder, r=eddyb,alexcrichton

Unsupport `#[derive(Trait)]` sugar for `#[derive_Trait]` legacy plugin attributes

This is a long deprecated unstable feature that doesn't mesh well with regular resolution/expansion.

How to fix broken code:
- The recommended way is to migrate to stable procedural macros - derives or attributes (https://doc.rust-lang.org/nightly/book/first-edition/procedural-macros.html).
- If that's not possible right now for some reason, you can keep code working with a simple mechanical replacement `#[derive(Legacy)]` -> `#[derive_Legacy]`.

Closes https://github.com/rust-lang/rust/issues/29644

r? @ghost