Skip to content

Commit 8d2cbb9

Browse files
committed
Add the rustc guide to the cheatsheet
1 parent 23f3256 commit 8d2cbb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/adding_lints.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ Here are some pointers to things you are likely going to need for every lint:
399399
* [`in_macro`][in_macro] and [`in_external_macro`][in_external_macro]
400400
* [`Span`][span]
401401
* [`Applicability`][applicability]
402+
* [The rustc guide][rustc_guide] explains a lot of internal compiler concepts.
402403

403404
For `EarlyLintPass` lints:
404405

@@ -437,3 +438,4 @@ don't hesitate to ask on Discord, IRC or in the issue/PR.
437438
[in_external_macro]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/fn.in_external_macro.html
438439
[play]: https://play.rust-lang.org
439440
[author_example]: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=f093b986e80ad62f3b67a1f24f5e66e2
441+
[rustc_guide]: https://rust-lang.github.io/rustc-guide/

0 commit comments

Comments
 (0)