]> git.lizzy.rs Git - rust.git/commitdiff
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)
 (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.


Trivial merge