]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #24739 - nrc:span-item, r=huonw
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 24 Apr 2015 04:18:18 +0000 (09:48 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Fri, 24 Apr 2015 04:18:18 +0000 (09:48 +0530)
commit5a61d43526b97d864b68a98008837a09629f2573
treefcc399d30549b437bd68aa477c3004bc55f1cb29
parentcda00831e39806a4d0ff1e1b2fcaf7fda9d2cfd2
parent17934e5c29509fe72dbf6228033ab632919dba95
Rollup merge of #24739 - nrc:span-item, r=huonw

 (And other kinds of items).

This brings trait/impl items in line with top-level items in this respect. It means we don't get the attributes when showing error messages for methods, etc. (a good thing, I think). Since attributes have spans it is still easy to create a span for the item + all attributes.