]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #50330 - japaric:used, r=nagisa
authorkennytm <kennytm@gmail.com>
Mon, 30 Apr 2018 17:18:41 +0000 (01:18 +0800)
committerGitHub <noreply@github.com>
Mon, 30 Apr 2018 17:18:41 +0000 (01:18 +0800)
commit909ba8aa78fb3ad4cf4dcee83bb3edc966dde90c
tree77b8616ec2890107e0c49a87e1f337cd71ca199b
parentcbbdf998edc905bcf44ba212f068114b3a62f858
parentbd4ebf28bdf6eb898971b194f5cf773c88281251
Rollup merge of #50330 - japaric:used, r=nagisa

check that #[used] is used only on statics

this attribute has no effect on other items. This makes the implementation match what's described in the RFC.

cc #40289

r? @nagisa