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
..
clean Add warning if a resolution failed 2018-04-16 23:33:43 +02:00
html Rollup merge of #50032 - ollie27:rustdoc_all_private, r=GuillaumeGomez 2018-04-17 18:43:17 +02:00
passes Remove `impl Foo for ..` in favor of `auto trait Foo` 2018-01-13 18:48:00 +03:00
Cargo.toml Auto merge of #48343 - Mark-Simulacrum:release-step, r=kennytm 2018-02-22 23:25:39 +00:00
README.md Move librustdoc readme to rustc guide 2018-03-12 20:09:50 -05:00
core.rs Make Handler more thread-safe 2018-04-17 16:43:30 +02:00
doctree.rs Generate documentation for auto-trait impls 2018-02-18 16:29:24 -05:00
externalfiles.rs Remove hoedown from rustdoc 2018-02-16 23:17:15 +01:00
fold.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
lib.rs Auto merge of #49542 - GuillaumeGomez:intra-link-resolution-error, r=GuillaumeGomez 2018-04-17 09:02:03 +00:00
markdown.rs add -C parameter to rustdoc 2018-04-13 16:07:12 -05:00
plugins.rs rustc_back: move dynamic_lib to rustc_metadata. 2017-12-04 18:25:29 +02:00
test.rs add -C parameter to rustdoc 2018-04-13 16:07:12 -05:00
theme.rs Pass themes folder as parameter 2018-02-08 10:53:09 +01:00
visit_ast.rs AST/HIR: Clarify what the optional name in extern crate items mean 2018-03-17 22:12:21 +03:00
visit_lib.rs cleanup 2018-01-22 15:24:27 +05:30

README.md

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