Skip to content

Commit 31ca232

Browse files
QuietMisdreavusManishearth
authored andcommitted
abort documenting on resolution errors
1 parent c3d0d5a commit 31ca232

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/clean/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,8 @@ impl Clean<Attributes> for [ast::Attribute] {
830830
attrs.links.push((link, path.def.def_id()));
831831
}
832832
}
833+
834+
cx.sess().abort_if_errors();
833835
}
834836

835837
attrs

0 commit comments

Comments
 (0)