Skip to content

Commit 3c67c62

Browse files
committed
Add rustc nightly docs to cheatsheet
1 parent d1caaa4 commit 3c67c62

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/adding_lints.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,9 @@ Here are some pointers to things you are likely going to need for every lint:
400400
* [`in_macro`][in_macro] and [`in_external_macro`][in_external_macro]
401401
* [`Span`][span]
402402
* [`Applicability`][applicability]
403-
* [The rustc guide][rustc_guide] explains a lot of internal compiler concepts.
403+
* [The rustc guide][rustc_guide] explains a lot of internal compiler concepts
404+
* [The nightly rustc docs][nightly_docs] which has been linked to throughout
405+
this guide
404406

405407
For `EarlyLintPass` lints:
406408

@@ -440,3 +442,4 @@ don't hesitate to ask on Discord, IRC or in the issue/PR.
440442
[play]: https://play.rust-lang.org
441443
[author_example]: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=f093b986e80ad62f3b67a1f24f5e66e2
442444
[rustc_guide]: https://rust-lang.github.io/rustc-guide/
445+
[nightly_docs]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/

0 commit comments

Comments
 (0)