Commit Graph

12 Commits

Author SHA1 Message Date
Joshua Nelson 60f15f096e Update error codes to match the current implementation
- All codes are in one crate, `rustc_error_codes`
- Extended descriptions are loaded using `include_str!`
- Give an example of a PR adding an error code
2020-09-08 13:59:34 +02:00
mark 89f0b60ccc fix links and names after compiler mv to compiler/ 2020-08-31 05:12:13 +02:00
Takayuki Nakata 463489182d Some small fixes (#823)
* Fix some typos
* Update from `typeck_tables_of` to `typeck`
* Fix comment
2020-08-11 19:36:48 -04:00
Takayuki Nakata 973ced6951 Change `rustc::*` to `rustc_middle::*` (#798) 2020-07-16 11:13:49 +09:00
Chris Simpkins 3524cac4b4 Update ./x.py tidy testing documentation (#607)
* update all docs to use ./x.py test tidy syntax
2020-03-10 12:02:24 +09:00
Yuki Okushi 2d61e5cd29 Fix links 2020-01-13 13:14:26 -06:00
Mark Mansi f517b15dc3 move the last few things from the forge 2019-12-09 10:52:52 -06:00
Yuki Okushi aa9c7bdc27 Fix links 2019-12-06 09:42:24 -06:00
Mark Rousskov 1e07320932 Fixup links in lintstore docs (#487) 2019-10-30 09:32:16 -04:00
Mark Rousskov 1030eb393e Add some docs around the lint store (#476)
* Add some docs around the lint store

* Update src/diagnostics.md

Co-Authored-By: Niko Matsakis <niko@alum.mit.edu>

* restructure
2019-10-29 17:09:10 -04:00
Tshepang Lekhonkhobe de9f6f82ba file has since been removed from content (#453)
Should of been part of 2ef961e454
2019-09-25 16:29:26 -03:00
Julian Wollersberger 848faf9728 Renamed the file and title of the diagnostics chapter.
When I recently searched for infos in this guide on how to create
a warning, I couldn't find any. Later I found it through #14.

The reason was that I didn't know the term 'diagnostics' and that
it is the collective term for errors, warnings and lints.

Renaming the chapter to include the word 'error' should help.
I think also including 'warning' in the title shouldn't be
neccessary, because it's close enought.
2019-05-17 11:02:08 -05:00