about summary refs log tree commit diff
path: root/src/librustc_metadata/diagnostics.rs
AgeCommit message (Collapse)AuthorLines
2019-04-17Rename diagnostics to error_codesYuki OKUSHI-102/+0
2019-02-14Rollup merge of #57856 - lzutao:fix-old-first-edition, r=steveklabnikMazdak Farrokhzad-1/+1
Convert old first edition links to current edition one r? @steveklabnik
2019-02-13Convert old doc links to current editionLzu Tao-1/+1
Use footnote style to bypass the tidy check
2019-02-08librustc_metadata => 2018Taiki Endo-0/+2
2018-12-25Remove licensesMark Rousskov-10/+0
2018-05-17Rename trans to codegen everywhere.Irina Popa-3/+3
2017-09-05Clarify failure condition on testsAlex Crichton-3/+3
2017-09-05rustc: Remove a number of mutable fields in cstoreAlex Crichton-3/+3
This commit started by moving methods from `CrateStore` to queries, but it ended up necessitating some deeper refactorings to move more items in general to queries. Before this commit the *resolver* would walk over the AST and process foreign modules (`extern { .. }` blocks) and collect `#[link]` annotations. It would then also process the command line `-l` directives and such. This information was then stored as precalculated lists in the `CrateStore` object for iterating over later. After this, commit, however, this pass no longer happens during resolution but now instead happens through queries. A query for the linked libraries of a crate will crawl the crate for `extern` blocks and then process the linkage annotations at that time.
2017-06-23Removed as many "```ignore" as possible.kennytm-3/+3
Replaced by adding extra imports, adding hidden code (`# ...`), modifying examples to be runnable (sorry Homura), specifying non-Rust code, and converting to should_panic, no_run, or compile_fail. Remaining "```ignore"s received an explanation why they are being ignored.
2017-06-15Update older URLs pointing to the first edition of the BookWonwoo Choi-1/+2
`compiler-plugins.html` is moved into the Unstable Book. Explanation is slightly modified to match the change.
2017-03-12Update usages of 'OSX' (and other old names) to 'macOS'.Corey Farwell-1/+1
As of last year with version 'Sierra', the Mac operating system is now called 'macOS'.
2016-12-22Fix Markdown list formatting.Chris Morgan-3/+3
The Markdown engine used by the book can cope with a single leading space on the list marker: Like this: * List item Rather than like this: * List item … but it’s not the typical convention employed in the book, and moreover the Markdown engine used for producing the error index *can’t* cope with it (its behaviour looks like a bug, as it appears to lose one of the two line breaks as well, but that’s immaterial here). So, we shift to a single convention which doesn’t trigger bugs in the Markdown renderer.
2016-11-26Fix error explanation formattingAndrew Lygin-3/+4
2016-11-26Fix error explanation formattingAndrew Lygin-3/+4
2016-10-24Import macros in `resolve` instead of in `metadata::macro_import`.Jeffrey Seyfried-179/+0
2016-09-27Fix fallout in tests.Jeffrey Seyfried-6/+6
2016-09-08Ignore this block code because of OSX failureggomez-2/+2
2016-09-04Add librustc metadata error codes to global checkggomez-3/+3
2016-08-30Add E0470 error explanationggomez-2/+43
2016-08-30Add E0469 error explanationggomez-1/+43
2016-08-30Add E0468 error explanationggomez-1/+28
2016-08-30Add E0467 error explanationggomez-1/+29
2016-08-30Add E0466 error explanationggomez-1/+37
2016-08-19Update block codes' flagsGuillaume Gomez-5/+5
2016-05-10Add error description for E0455Cristian Oliveira-1/+21
- Adding name attribute to the sample code - Fix description sentences
2016-03-25renumber error from E0522 to E0523Niko Matsakis-1/+1
another name was added in the meantime
2016-03-25pacify the merciless tidy: s/E0521/E0522Niko Matsakis-1/+1
Gah. I always find it confusing that make tidy gives me the highest error code, but not the **next** error code.
2016-03-25renumber diagnostic to avoid conflictNiko Matsakis-1/+1
specialization nabbed E0520
2016-03-25Make the compiler emit an error if the crate graph contains two crates with ↵Michael Woerister-0/+2
the same crate-name and crate-salt but different SVHs.
2016-01-02Add E0463 error explanationGuillaume Gomez-1/+14
2015-11-26split the metadata code into rustc_metadataAriel Ben-Yehuda-0/+77
tests & rustdoc still broken