rust-lang/rust — pull request #19793 by tomjakubowski (2014-12-13 00:58:53+00:00)
Title: metadata: Encode attributes for const items

Fix #19773

Together with #19774 (which this is rebased on):

Fix #18156, fix #19722, fix #19185