Files
rust/src/librustdoc
bors f4bb956278 Auto merge of #49349 - Zoxc:sync-errors, r=michaelwoerister
Make Handler more thread-safe

The use of `code_emitted` to suppress extended explanations is not thread safe. I'm not sure why we keep the documentation for errors outside `diagnostics.rs` anyway. It would be better to add a `teach` method to `DiagnosticsBuilder`, so instead of:
```
if self.tcx.sess.teach(&err.get_code().unwrap()) {
    err.note("...");
}
```
we'd use `err.teach("...")`

cc @estebank

r? @michaelwoerister
2018-04-18 08:29:14 +00:00
..
2018-04-16 23:33:43 +02:00
2018-04-17 16:43:30 +02:00
2018-02-16 23:17:15 +01:00
2017-08-15 15:29:17 -07:00
2018-04-13 16:07:12 -05:00
2018-04-13 16:07:12 -05:00
2018-02-08 10:53:09 +01:00
2018-01-22 15:24:27 +05:30

For more information about how librustdoc works, see the rustc guide.