about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorQuietMisdreavus <grey@quietmisdreavus.net>2017-12-24 22:28:34 -0600
committerManish Goregaokar <manishsmail@gmail.com>2018-01-22 15:21:28 +0530
commit31ca2322a06ee5dbf91e2ea21f4354593fd8ed52 (patch)
tree8fb4ebb4bd0146305fe23221955c33235ffc62ce /src
parentc3d0d5a4bb905fbefaaa8034ce5bef690923a8fb (diff)
downloadrust-31ca2322a06ee5dbf91e2ea21f4354593fd8ed52.tar.gz
rust-31ca2322a06ee5dbf91e2ea21f4354593fd8ed52.zip
abort documenting on resolution errors
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/clean/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs
index 3f7750cacc2..caa0dccba82 100644
--- a/src/librustdoc/clean/mod.rs
+++ b/src/librustdoc/clean/mod.rs
@@ -830,6 +830,8 @@ impl Clean<Attributes> for [ast::Attribute] {
                     attrs.links.push((link, path.def.def_id()));
                 }
             }
+
+            cx.sess().abort_if_errors();
         }
 
         attrs