rust/src
bors 016cef914b Auto merge of #25062 - michaelsproul:html-error-index, r=alexcrichton
This PR adds a program which uses the JSON output from #24884 to generate a webpage with descriptions of each diagnostic error.

The page is constructed by hand, with calls to `rustdoc`'s markdown renderers where needed. I opted to generate HTML directly as I think it's more flexible than generating a markdown file and feeding it into the `rustdoc` executable. I envision adding the ability to filter errors by their properties (description, no description, used, unused), which is infeasible using the whole-file markdown approach due to the need to wrap each error in a `<div>` (markdown inside tags isn't rendered).

Architecturally, I wasn't sure how to add this generator to the distribution. For the moment I've settled on a separate Rust program in `src/etc/` that gets compiled and run by a custom makefile rule. This approach doesn't seem too hackish, but I'm unsure if my usage of makefile variables is correct, particularly the call to `rustc` (and the `LD_LIBRARY_PATH` weirdness). Other options I considered were:

* Integrate the error-index generator into `rustdoc` so that it gets invoked via a flag and can be built as part of `rustdoc`.
* Add the error-index-generator as a "tool" to the `TOOLS` array, and make use of the facilities for building tools. The main reason I didn't do this was because it seemed like I'd need to add lots of stuff. I'm happy to investigate this further if it's the preferred method.
2015-05-06 07:55:20 +00:00
..
compiler-rt@58ab642c30
compiletest Run benchmarks once, as a test by default. 2015-05-02 15:45:23 +10:00
doc Rollup merge of #25112 - jsyeo:jsyeo-while-let, r=alexcrichton 2015-05-05 16:56:01 -04:00
driver
error-index-generator Error index style tweaks. 2015-05-05 11:17:00 +10:00
etc Remove unused extract_grammar.py 2015-05-03 17:45:37 -04:00
grammar
jemalloc@e24a1a025a
liballoc Add downcasting to std::error::Error 2015-04-30 18:20:22 -07:00
libarena Register new snapshots 2015-04-28 17:23:45 -07:00
libbacktrace
libcollections Auto merge of #24879 - Stebalien:vec_deque, r=alexcrichton 2015-05-06 03:33:42 +00:00
libcollectionstest Implement retain for vec_deque 2015-05-04 23:04:06 -04:00
libcore Optimize iterator adapters. 2015-05-05 14:17:23 -04:00
libcoretest Optimize iterator adapters. 2015-05-05 14:17:23 -04:00
libflate
libfmt_macros
libgetopts
libgraphviz
liblibc
liblog fix doc:#1398 stop passing --cfg ndebug and uses -C debug-assertions 2015-05-02 10:24:10 +08:00
librand
librbml
librustc Auto merge of #25134 - alexcrichton:fix-issue-25072-for-realsies, r=brson 2015-05-06 00:54:55 +00:00
librustc_back rollup merge of #24953: tamird/android-pie 2015-04-29 15:45:56 -07:00
librustc_bitflags Fallout 2015-04-29 08:55:31 -07:00
librustc_borrowck Auto merge of #24884 - michaelsproul:extended-errors, r=nrc 2015-04-30 02:03:27 +00:00
librustc_data_structures
librustc_driver rustc: Fix more verbatim paths leaking to gcc 2015-05-05 15:21:52 -07:00
librustc_lint Use hash-tables in trait selection 2015-04-30 15:10:52 +03:00
librustc_llvm rollup merge of #24921: tamird/bitflags-associated-const 2015-04-29 15:49:07 -07:00
librustc_privacy
librustc_resolve Auto merge of #24884 - michaelsproul:extended-errors, r=nrc 2015-04-30 02:03:27 +00:00
librustc_trans Auto merge of #25134 - alexcrichton:fix-issue-25072-for-realsies, r=brson 2015-05-06 00:54:55 +00:00
librustc_typeck Auto merge of #25113 - pnkfelix:dropck-itemless-traits, r=huonw 2015-05-05 11:06:35 +00:00
librustc_unicode Replaces instanced of 'an UTF' with 'a UTF' 2015-04-30 21:38:01 -04:00
librustdoc rustdoc: Fix rendering associated constants 2015-04-30 09:37:13 -07:00
libserialize
libstd Auto merge of #25009 - alexcrichton:less-buffered-stream, r=aturon 2015-05-05 18:18:27 +00:00
libsyntax Rollup merge of #25100 - jbcrail:fix-spelling-errors, r=steveklabnik 2015-05-05 09:24:22 +05:30
libterm
libtest Run benchmarks once, as a test by default. 2015-05-02 15:45:23 +10:00
llvm@bff6907697
rt
rust-installer@e54d4823d2
rustbook
rustllvm
test Auto merge of #24979 - jooert:test-22471, r=pnkfelix 2015-05-05 15:39:02 +00:00
snapshots.txt Register new snapshots 2015-04-28 17:23:45 -07:00