From 8d2cbb94d468bb0e354c9a211b5b1c174d76cdb2 Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Sun, 3 Mar 2019 10:00:05 +0100 Subject: [PATCH] Add the rustc guide to the cheatsheet --- doc/adding_lints.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/adding_lints.md b/doc/adding_lints.md index 27381721103..f74b179f759 100644 --- a/doc/adding_lints.md +++ b/doc/adding_lints.md @@ -399,6 +399,7 @@ Here are some pointers to things you are likely going to need for every lint: * [`in_macro`][in_macro] and [`in_external_macro`][in_external_macro] * [`Span`][span] * [`Applicability`][applicability] +* [The rustc guide][rustc_guide] explains a lot of internal compiler concepts. For `EarlyLintPass` lints: @@ -437,3 +438,4 @@ don't hesitate to ask on Discord, IRC or in the issue/PR. [in_external_macro]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/fn.in_external_macro.html [play]: https://play.rust-lang.org [author_example]: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=f093b986e80ad62f3b67a1f24f5e66e2 +[rustc_guide]: https://rust-lang.github.io/rustc-guide/