Commit Graph

14 Commits

Author SHA1 Message Date
jumbatm 3658303988 Apply suggestions from review.
Co-authored-by: Camelid <camelidcamel@gmail.com>
2020-12-02 22:34:16 -06:00
jumbatm f7d7e48874 Document SessionDiagnostic 2020-12-02 22:34:16 -06:00
Joshua Nelson 677a95f264 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 9bb3872dc7 fix links and names after compiler mv to compiler/ 2020-08-31 05:12:13 +02:00
Takayuki Nakata 4657fbcda7
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 e403d51932
Change `rustc::*` to `rustc_middle::*` (#798) 2020-07-16 11:13:49 +09:00
Chris Simpkins 56cff94ce7
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 41efacea44 Fix links 2020-01-13 13:14:26 -06:00
Mark Mansi cd85fbd68b move the last few things from the forge 2019-12-09 10:52:52 -06:00
Yuki Okushi 7c56708aab Fix links 2019-12-06 09:42:24 -06:00
Mark Rousskov 8b86a6ee91
Fixup links in lintstore docs (#487) 2019-10-30 09:32:16 -04:00
Mark Rousskov f668658233 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 7bed7de918 file has since been removed from content (#453)
Should of been part of 2ef961e454
2019-09-25 16:29:26 -03:00
Julian Wollersberger 14b243de25 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