Shrink diagnostic spans for errors inside macros

This commit is contained in:
Jonas Schievink 2022-01-08 15:38:50 +01:00
parent 67f548d8e9
commit 3dd5e273b6
4 changed files with 59 additions and 15 deletions

View file

@ -772,7 +772,6 @@ impl ast::HasLoopBody for ast::ForExpr {
}
impl ast::HasAttrs for ast::AnyHasDocComments {}
impl ast::HasDocComments for ast::Item {}
impl From<ast::Adt> for ast::Item {
fn from(it: ast::Adt) -> Self {